ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
Public Member Functions | List of all members
ocpp::EnumToStringException Class Reference

Exception used when conversion from enum to string fails. More...

#include <types.hpp>

Inheritance diagram for ocpp::EnumToStringException:
ocpp::EnumConversionException

Public Member Functions

template<typename T >
 EnumToStringException (T enumValue, std::string_view type)
 Creates a new StringToEnumException. More...
 

Detailed Description

Exception used when conversion from enum to string fails.

Constructor & Destructor Documentation

◆ EnumToStringException()

template<typename T >
ocpp::EnumToStringException::EnumToStringException ( enumValue,
std::string_view  type 
)
inlineexplicit

Creates a new StringToEnumException.

Parameters
enumValuevalue of enum that failed to convert
typename of the enum trying to convert from

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