JSON Voorhees
Killer JSON for C++
jsonv::no_extractor Class Reference

Thrown when formats::extract does not have an extractor for the provided type. More...

#include <jsonv/serialization.hpp>

+ Inheritance diagram for jsonv::no_extractor:

Public Member Functions

 no_extractor (const std::type_info &type)
 Create a new exception. More...
 
 no_extractor (const std::type_index &type)
 
string_view type_name () const
 The name of the type. More...
 
std::type_index type_index () const
 Get an ID for the type of extractor that formats::extract could not locate. More...
 

Detailed Description

Thrown when formats::extract does not have an extractor for the provided type.

Definition at line 164 of file serialization.hpp.

Constructor & Destructor Documentation

jsonv::no_extractor::no_extractor ( const std::type_info &  type)
explicit

Create a new exception.

Member Function Documentation

std::type_index jsonv::no_extractor::type_index ( ) const

Get an ID for the type of extractor that formats::extract could not locate.

string_view jsonv::no_extractor::type_name ( ) const

The name of the type.


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