|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
std::error_category implementation for thread_system errors More...
#include <error_handling.h>


Public Member Functions | |
| const char * | name () const noexcept override |
| Returns the name of the error category. | |
| std::string | message (int ev) const override |
| Returns a message for the given error code. | |
| bool | equivalent (int ev, const std::error_condition &condition) const noexcept override |
| Returns the equivalent std::errc for certain error codes. | |
std::error_category implementation for thread_system errors
This allows thread_system error_code to be used with std::error_code, enabling seamless integration with standard library error handling.
Definition at line 235 of file error_handling.h.
|
inlinenodiscardoverridenoexcept |
Returns the equivalent std::errc for certain error codes.
| ev | The error value |
| condition | The std::error_condition to compare against |
Definition at line 259 of file error_handling.h.
References kcenon::thread::deadlock_detected, kcenon::thread::invalid_argument, kcenon::thread::operation_timeout, kcenon::thread::resource_allocation_failed, and kcenon::thread::resource_limit_reached.
|
inlinenodiscardoverride |
Returns a message for the given error code.
| ev | The error value |
Definition at line 249 of file error_handling.h.
References kcenon::thread::error_code_to_string().

|
inlinenodiscardoverridenoexcept |
Returns the name of the error category.
Definition at line 240 of file error_handling.h.