#include <userver/storages/mongo/exception.hpp>
Server-side error.
Definition at line 87 of file exception.hpp.
|
enum class | TraceMode {
kAlways
,
kIfLoggingIsEnabled
} |
|
using | MemoryBuffer = fmt::basic_memory_buffer<char, kInlineBufferSize> |
|
|
| ServerException (int code) |
|
int | Code () const |
|
| MongoException () |
|
| MongoException (std::string_view what) |
|
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 |
◆ ServerException()
storages::mongo::ServerException::ServerException |
( |
int | code | ) |
|
|
inlineexplicit |
◆ Code()
int storages::mongo::ServerException::Code |
( |
| ) |
const |
|
inline |
◆ kInlineBufferSize
constexpr size_t utils::TracefulExceptionBase::kInlineBufferSize = 100 |
|
staticconstexprinherited |
The documentation for this class was generated from the following file: