72 #if defined(_WIN32) || defined(__CYGWIN__)
73 #define VLINK_EXCEPTION_EXPORT
75 #define VLINK_EXCEPTION_EXPORT VLINK_EXPORT
92 using std::runtime_error::runtime_error;
101 using std::out_of_range::out_of_range;
110 using std::invalid_argument::invalid_argument;
119 using std::logic_error::logic_error;
128 using std::domain_error::domain_error;
137 using std::length_error::length_error;
146 using std::range_error::range_error;
155 using std::overflow_error::overflow_error;
164 using std::underflow_error::underflow_error;
173 using std::exception::exception;
180 [[nodiscard]]
const char*
what() const noexcept
override {
return "vlink operation cancelled"; }
187 #undef VLINK_EXCEPTION_EXPORT
Indicates a value outside the mathematical domain of a function.
Definition: exception.h:126
Indicates that a function received an argument with an invalid value.
Definition: exception.h:108
Indicates an attempt to exceed an implementation size limit.
Definition: exception.h:135
Indicates a violated program logic precondition.
Definition: exception.h:117
Marker exception thrown when a cooperative cancellation request is observed.
Definition: exception.h:171
const char * what() const noexcept override
Returns a fixed explanatory message identifying the exception.
Definition: exception.h:180
Indicates an index or iterator that is outside the legal range.
Definition: exception.h:99
Indicates an arithmetic overflow.
Definition: exception.h:153
Indicates an arithmetic range error.
Definition: exception.h:144
Generic runtime failure; thrown by the logger on kFatal messages.
Definition: exception.h:90
Indicates an arithmetic underflow.
Definition: exception.h:162
#define VLINK_EXCEPTION_EXPORT
Definition: exception.h:75
Cross-platform macros for visibility, branch hints, copy prevention, singletons and string helpers.