#include <userver/formats/bson/exception.hpp>
Generic BSON-related exception.
Definition at line 17 of file exception.hpp.
|
enum class | TraceMode {
kAlways
,
kIfLoggingIsEnabled
} |
|
using | MemoryBuffer = fmt::basic_memory_buffer<char, kInlineBufferSize> |
|
|
| BsonException (std::string msg) |
|
std::string_view | GetMessage () const noexcept |
|
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 |
|
◆ MemoryBuffer
using utils::TracefulExceptionBase::MemoryBuffer = fmt::basic_memory_buffer<char, kInlineBufferSize> |
|
inherited |
◆ TraceMode
enum class utils::TracefulExceptionBase::TraceMode |
|
stronginherited |
◆ GetMessage()
std::string_view formats::bson::BsonException::GetMessage |
( |
| ) |
const |
|
inlinenoexcept |
◆ kInlineBufferSize
constexpr size_t utils::TracefulExceptionBase::kInlineBufferSize = 100 |
|
staticconstexprinherited |
The documentation for this class was generated from the following file: