24 #include <system_error>
32 namespace libwire::internal_ {
41 std::error_code last_system_error(
int status = -1) noexcept;
43 class system_errors : public std::error_category {
45 virtual const char* name() const noexcept override;
46 virtual std::
string message(
int code) const noexcept override;
47 virtual std::error_condition default_error_condition(
int code) const noexcept override;
48 virtual
bool equivalent(
int code, const std::error_condition& condition) const noexcept override;
This header defines set of enumerations for platform-independent error code handling.