rippled
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Json::JsonTypeMismatchError Struct Reference

#include <json_get_or_throw.h>

Inheritance diagram for Json::JsonTypeMismatchError:
Inheritance graph
[legend]
Collaboration diagram for Json::JsonTypeMismatchError:
Collaboration graph
[legend]

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 33 of file json_get_or_throw.h.

Constructor & Destructor Documentation

◆ JsonTypeMismatchError()

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

Definition at line 38 of file json_get_or_throw.h.

Member Function Documentation

◆ what()

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

Definition at line 43 of file json_get_or_throw.h.

Member Data Documentation

◆ key

char const* const Json::JsonTypeMismatchError::key

Definition at line 35 of file json_get_or_throw.h.

◆ expectedType

std::string const Json::JsonTypeMismatchError::expectedType

Definition at line 36 of file json_get_or_throw.h.

◆ msg

std::string Json::JsonTypeMismatchError::msg
mutable

Definition at line 37 of file json_get_or_throw.h.