Return error objects on fail