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

#include <userver/utils/traceful_exception.hpp>

Detailed Description

Exception that remembers the backtrace at the point of its construction.

Definition at line 73 of file traceful_exception.hpp.

+ Inheritance diagram for utils::TracefulException:
+ Collaboration diagram for utils::TracefulException:

Public Member Functions

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
 

Additional Inherited Members

- Public Types inherited from utils::TracefulExceptionBase
enum class  TraceMode {
  kAlways ,
  kIfLoggingIsEnabled
}
 
using MemoryBuffer = fmt::basic_memory_buffer<char, kInlineBufferSize>
 
- Static Public Attributes inherited from utils::TracefulExceptionBase
static constexpr size_t kInlineBufferSize = 100
 

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