xrpld
Loading...
Searching...
No Matches
json::JsonTypeMismatchError Struct Reference

#include <json_get_or_throw.h>

Inheritance diagram for json::JsonTypeMismatchError:
Collaboration diagram for json::JsonTypeMismatchError:

Public Member Functions

 JsonTypeMismatchError (json::StaticString const &k, std::string et)
char const * what () const noexcept override
what (T... args)

Public Attributes

char const *const key
std::string const expectedType
std::string msg

Detailed Description

Definition at line 32 of file json_get_or_throw.h.

Constructor & Destructor Documentation

◆ JsonTypeMismatchError()

json::JsonTypeMismatchError::JsonTypeMismatchError ( json::StaticString const & k,
std::string et )

Definition at line 37 of file json_get_or_throw.h.

Member Function Documentation

◆ what()

char const * json::JsonTypeMismatchError::what ( ) const
overridenoexcept

Definition at line 42 of file json_get_or_throw.h.

Member Data Documentation

◆ key

char const* const json::JsonTypeMismatchError::key

Definition at line 34 of file json_get_or_throw.h.

◆ expectedType

std::string const json::JsonTypeMismatchError::expectedType

Definition at line 35 of file json_get_or_throw.h.

◆ msg

std::string json::JsonTypeMismatchError::msg
mutable

Definition at line 36 of file json_get_or_throw.h.