EDITING: Always display an error code on error