DAW JSON Link
Public Member Functions | List of all members
daw::json::json_exception Class Reference

#include <daw_json_assert.h>

Public Member Functions

constexpr json_exception ()=default
 
constexpr json_exception (ErrorReason reason) noexcept
 
constexpr json_exception (ErrorReason reason, std::string_view location) noexcept
 
constexpr json_exception (json_details::missing_member mm) noexcept
 
constexpr json_exception (json_details::missing_member mm, std::string_view location) noexcept
 
constexpr json_exception (json_details::missing_token mt) noexcept
 
constexpr json_exception (json_details::missing_token mt, std::string_view location) noexcept
 
char const * parse_location () const
 
std::string reason () const
 
constexpr ErrorReason reason_type () const
 

Constructor & Destructor Documentation

◆ json_exception() [1/7]

constexpr daw::json::json_exception::json_exception ( )
constexprdefault

◆ json_exception() [2/7]

constexpr daw::json::json_exception::json_exception ( ErrorReason  reason)
inlineexplicitconstexprnoexcept

◆ json_exception() [3/7]

constexpr daw::json::json_exception::json_exception ( json_details::missing_member  mm)
inlineexplicitconstexprnoexcept

◆ json_exception() [4/7]

constexpr daw::json::json_exception::json_exception ( json_details::missing_token  mt)
inlineexplicitconstexprnoexcept

◆ json_exception() [5/7]

constexpr daw::json::json_exception::json_exception ( json_details::missing_member  mm,
std::string_view  location 
)
inlineexplicitconstexprnoexcept

◆ json_exception() [6/7]

constexpr daw::json::json_exception::json_exception ( json_details::missing_token  mt,
std::string_view  location 
)
inlineexplicitconstexprnoexcept

◆ json_exception() [7/7]

constexpr daw::json::json_exception::json_exception ( ErrorReason  reason,
std::string_view  location 
)
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ parse_location()

char const* daw::json::json_exception::parse_location ( ) const
inline

◆ reason()

std::string daw::json::json_exception::reason ( ) const
inline

◆ reason_type()

constexpr ErrorReason daw::json::json_exception::reason_type ( ) const
inlineconstexpr

The documentation for this class was generated from the following file: