OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Functions
SerializationExceptions.h File Reference
#include <cstdint>
#include <string_view>
#include <system_error>
#include <type_traits>
#include "Utility/Flags.h"

Functions

void throwEnumSerializationError (int64_t value, std::string_view typeName, bool isFlags)
 
void throwDeserializationError (std::string_view value, std::string_view typeName)
 
void throwNumberDeserializationError (std::string_view invalidValue, std::string_view typeName, std::errc error)
 
template<class T >
void throwEnumSerializationError (T value, std::string_view typeName)
 

Function Documentation

◆ throwDeserializationError()

void throwDeserializationError ( std::string_view  value,
std::string_view  typeName 
)

◆ throwEnumSerializationError() [1/2]

void throwEnumSerializationError ( int64_t  value,
std::string_view  typeName,
bool  isFlags 
)

◆ throwEnumSerializationError() [2/2]

template<class T >
void throwEnumSerializationError ( value,
std::string_view  typeName 
)

◆ throwNumberDeserializationError()

void throwNumberDeserializationError ( std::string_view  invalidValue,
std::string_view  typeName,
std::errc  error 
)