check for error existence and abort, rather than error non-existence and continue