userver: utils::InvariantError Class Reference
Loading...
Searching...
No Matches
utils::InvariantError Class Reference

#include <userver/utils/invariant_error.hpp>

Detailed Description

Exception that is thrown on UINVARIANT violation.

Definition at line 15 of file invariant_error.hpp.

+ Inheritance diagram for utils::InvariantError:

Additional Inherited Members

- Public Types inherited from utils::TracefulExceptionBase
enum class  TraceMode {
  kAlways ,
  kIfLoggingIsEnabled
}
 
using MemoryBuffer = fmt::basic_memory_buffer<char, kInlineBufferSize>
 
- Public Member Functions inherited from utils::TracefulException
const charwhat () const noexcept override
 
 TracefulExceptionBase ()
 
 TracefulExceptionBase (std::string_view what)
 
 TracefulExceptionBase (TraceMode trace_mode)
 
 TracefulExceptionBase (TracefulExceptionBase &&) noexcept
 
- Public Member Functions inherited from utils::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 inherited from utils::TracefulExceptionBase
static constexpr size_t kInlineBufferSize = 100
 

The documentation for this class was generated from the following file: