userver: formats::bson::OutOfBoundsException Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
formats::bson::OutOfBoundsException Class Reference

#include <userver/formats/bson/exception.hpp>

Detailed Description

BSON array indexing error.

Definition at line 52 of file exception.hpp.

+ Inheritance diagram for formats::bson::OutOfBoundsException:
+ Collaboration diagram for formats::bson::OutOfBoundsException:

Public Member Functions

 OutOfBoundsException (size_t index, size_t size, std::string_view path)
 
- Public Member Functions inherited from formats::bson::ExceptionWithPath
 ExceptionWithPath (std::string_view msg, std::string_view path)
 
std::string_view GetPath () const noexcept
 
std::string_view GetMessageWithoutPath () const noexcept
 
- Public Member Functions inherited from formats::bson::BsonException
 BsonException (std::string msg)
 
std::string_view GetMessage () const noexcept
 
- 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
 

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: