Use error_condition from the std namespace.