GMP 0.4.0
Generative Metaprogramming library for C++
Loading...
Searching...
No Matches
gmp::serialization_error Struct Reference

#include <error.hpp>

Public Member Functions

std::string describe () const
 

Public Attributes

serialization_errc code
 
std::string message
 
std::string path
 
std::size_t offset
 

Static Public Attributes

static constexpr std::size_t unknown_offset
 

Detailed Description

Definition at line 48 of file error.hpp.

Member Function Documentation

◆ describe()

std::string gmp::serialization_error::describe ( ) const
inline

Definition at line 55 of file error.hpp.

References gmp::enum_values(), message, offset, path, and unknown_offset.

Member Data Documentation

◆ code

serialization_errc gmp::serialization_error::code

Definition at line 50 of file error.hpp.

◆ message

std::string gmp::serialization_error::message

Definition at line 51 of file error.hpp.

Referenced by describe().

◆ offset

std::size_t gmp::serialization_error::offset

Definition at line 53 of file error.hpp.

Referenced by describe().

◆ path

std::string gmp::serialization_error::path

Definition at line 52 of file error.hpp.

Referenced by describe(), and gmp::prepend_serialization_path().

◆ unknown_offset

constexpr std::size_t gmp::serialization_error::unknown_offset
staticconstexpr

Definition at line 49 of file error.hpp.

Referenced by describe().


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