Add custom error type on after_rollback test