std::error_code

std::error_code

Defined in header <system_error>
class error_code;
(since C++11)

std::error_code is a platform-dependent error code. Each std::error_code object holds an error code originating from the operating system or some low-level interface and a pointer to an object of type std::error_category, which corresponds to the said interface. The error code values may be not unique across different error categories.

登录查看完整内容