fpmas 1.6
Public Member Functions | List of all members
fpmas::exceptions::BadIdException Class Reference

#include <serializer_set_up.h>

Inheritance diagram for fpmas::exceptions::BadIdException:
Inheritance graph
[legend]
Collaboration diagram for fpmas::exceptions::BadIdException:
Collaboration graph
[legend]

Public Member Functions

 BadIdException (std::size_t bad_id)
 
const char * what () const noexcept override
 

Detailed Description

Exception raised when unserializing an std::type_index if the provided type id does not correspond to any registered type.

See also
register_types
nlohmann::adl_serializer<std::type_index>

Constructor & Destructor Documentation

◆ BadIdException()

fpmas::exceptions::BadIdException::BadIdException ( std::size_t  bad_id)
inline

BadIdException constructor.

Parameters
bad_idunregistered id

Member Function Documentation

◆ what()

const char * fpmas::exceptions::BadIdException::what ( ) const
inlineoverridenoexcept

Returns the explanatory string.

See also
https://en.cppreference.com/w/cpp/error/exception/what

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