|
seams-core v2.14.0
libyodaLib, the C++ engine of d-SEAMS
|
Failure from the C API, or from a rejected argument. More...
#include <include/seams.hpp>
Public Member Functions | |
| Error (int status, std::string message) | |
| Build an error from a status and a message. | |
| Status | status () const noexcept |
| Status as the Status enumeration when the code is known. | |
| int | code () const noexcept |
| Status integer. | |
Failure from the C API, or from a rejected argument.
what() is the text from seams_handle_error. code() is the status integer. The object does not own a handle.
|
inline |
Build an error from a status and a message.
| status | Status code. Zero is not thrown by check. |
| message | Detail text. An empty string is allowed. |
Definition at line 184 of file seams.hpp.
|
inlinenodiscardnoexcept |
Status integer.
Same values as seams_status.
Definition at line 199 of file seams.hpp.
|
inlinenodiscardnoexcept |