JSON Voorhees
Killer JSON for C++
Loading...
Searching...
No Matches
jsonv::duplicate_type_error Class Reference

Exception thrown if an insertion of an extractor or serializer into a formats is attempted, but there is already an extractor or serializer for that type. More...

#include <jsonv/serialization.hpp>

+ Inheritance diagram for jsonv::duplicate_type_error:
+ Collaboration diagram for jsonv::duplicate_type_error:

Public Member Functions

 duplicate_type_error (const std::string &operation, const std::type_index &type)
 
const std::type_index & type_index () const
 

Detailed Description

Exception thrown if an insertion of an extractor or serializer into a formats is attempted, but there is already an extractor or serializer for that type.

Definition at line 54 of file serialization.hpp.

Member Function Documentation

◆ type_index()

const std::type_index & jsonv::duplicate_type_error::type_index ( ) const
inline

Definition at line 62 of file serialization.hpp.


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