#include <userver/utils/traceful_exception.hpp>
Base class implementing backtrace storage and message builder, published only for documentation purposes, please inherit from utils::TracefulException instead.
Definition at line 23 of file traceful_exception.hpp.
Public Types | |
enum class | TraceMode { kAlways , kIfLoggingIsEnabled } |
using | MemoryBuffer = fmt::basic_memory_buffer<char, kInlineBufferSize> |
Public Member Functions | |
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 |
using utils::TracefulExceptionBase::MemoryBuffer = fmt::basic_memory_buffer<char, kInlineBufferSize> |
Definition at line 31 of file traceful_exception.hpp.
|
strong |
Definition at line 25 of file traceful_exception.hpp.
|
friend |
Stream-like interface for message extension.
Definition at line 50 of file traceful_exception.hpp.
|
staticconstexpr |
Definition at line 30 of file traceful_exception.hpp.