Lines Matching refs:error_code
210 string make_error_str(const error_code& ec, string what_arg) {
220 string make_error_str(const error_code& ec) {
334 // error_code
336 string error_code::message() const { return __cat_->message(__val_); }
340 system_error::system_error(error_code ec, const string& what_arg)
343 system_error::system_error(error_code ec, const char* what_arg)
346 system_error::system_error(error_code ec) : runtime_error(make_error_str(ec)), __ec_(ec) {}
349 : runtime_error(make_error_str(error_code(ev, ecat), what_arg)), __ec_(error_code(ev, ecat)) {}
352 : runtime_error(make_error_str(error_code(ev, ecat), what_arg)), __ec_(error_code(ev, ecat)) {}
355 : runtime_error(make_error_str(error_code(ev, ecat))), __ec_(error_code(ev, ecat)) {}
361 std::__throw_system_error(error_code(ev, generic_category()), what_arg);