Creates an RPCError which can be thrown from a call handler to return a non-generic error response.
GenericError
NotImplemented
NotSupported
InternalError
ProtocolError
SecurityError
FormatViolation
FormationViolation
PropertyConstraintViolation
OccurrenceConstraintViolation
OccurenceConstraintViolation
TypeConstraintViolation
MessageTypeNotSupported
RpcFrameworkError
The OCPP-J RPC error type (see table above).
Optional
The error's message.
The details object to pass along with the error.
Creates an RPCError which can be thrown from a call handler to return a non-generic error response.
GenericErrorNotImplementedNotSupportedInternalErrorProtocolErrorSecurityErrorFormatViolationFormationViolationPropertyConstraintViolationOccurrenceConstraintViolationOccurenceConstraintViolationTypeConstraintViolationMessageTypeNotSupportedRpcFrameworkError