#include <userver/utils/invariant_error.hpp>
Exception that is thrown on UINVARIANT violation.
Definition at line 15 of file invariant_error.hpp.
Inheritance diagram for utils::InvariantError:Public Types | |
| enum class | TraceMode { kAlways , kIfLoggingIsEnabled } |
| using | MemoryBuffer = fmt::basic_memory_buffer<char, kInlineBufferSize> |
Public Member Functions | |
| const char * | what () const noexcept override |
| TracefulExceptionBase () | |
| TracefulExceptionBase (std::string_view what) | |
| TracefulExceptionBase (TraceMode trace_mode) | |
| TracefulExceptionBase (TracefulExceptionBase &&) noexcept | |
| const MemoryBuffer & | MessageBuffer () const noexcept |
| const boost::stacktrace::basic_stacktrace & | Trace () const noexcept |
Static Public Attributes | |
| static constexpr size_t | kInlineBufferSize = 100 |
|
inherited |
Definition at line 31 of file traceful_exception.hpp.
|
stronginherited |
Definition at line 25 of file traceful_exception.hpp.
|
staticconstexprinherited |
Definition at line 30 of file traceful_exception.hpp.