ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
Public Member Functions | Public Attributes | List of all members
ocpp::v16::ErrorInfo Struct Reference

Contains all relevant information to handle errros in OCPP1.6. More...

#include <charge_point_state_machine.hpp>

Public Member Functions

 ErrorInfo (const std::string uuid, const ChargePointErrorCode error_code, const bool is_fault)
 
 ErrorInfo (const std::string uuid, const ChargePointErrorCode error_code, const bool is_fault, const std::optional< std::string > info)
 
 ErrorInfo (const std::string uuid, const ChargePointErrorCode error_code, const bool is_fault, const std::optional< std::string > info, const std::optional< std::string > vendor_id)
 
 ErrorInfo (const std::string uuid, const ChargePointErrorCode error_code, const bool is_fault, const std::optional< std::string > info, const std::optional< std::string > vendor_id, const std::optional< std::string > vendor_error_code)
 

Public Attributes

std::string uuid
 
ChargePointErrorCode error_code
 
bool is_fault
 defined by OCPP1.6
 
std::optional< CiString< 50 > > info
 
std::optional< CiString< 255 > > vendor_id
 defined by OCPP1.6
 
std::optional< CiString< 50 > > vendor_error_code
 defined by OCPP1.6
 
DateTime timestamp
 defined by OCPP1.6
 

Detailed Description

Contains all relevant information to handle errros in OCPP1.6.

Member Data Documentation

◆ info

std::optional<CiString<50> > ocpp::v16::ErrorInfo::info

indicates if state should change to "Faulted", if not set, state will not change and error is only informational


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