Return success and error