Support non-exception failures and errors (#19)