| 1 | export enum ErrorType { |
| 2 | // Requested Action is not known by receiver |
| 3 | NOT_IMPLEMENTED = 'NotImplemented', |
| 4 | // Requested Action is recognized but not supported by the receiver |
| 5 | NOT_SUPPORTED = 'NotSupported', |
| 6 | // An internal error occurred and the receiver was not able to process the requested Action successfully |
| 7 | INTERNAL_ERROR = 'InternalError', |
| 8 | // Payload for Action is incomplete |
| 9 | PROTOCOL_ERROR = 'ProtocolError', |
| 10 | // During the processing of Action a security issue occurred preventing receiver from completing the Action successfully |
| 11 | SECURITY_ERROR = 'SecurityError', |
| 12 | // Payload for Action is syntactically incorrect or not conform the PDU structure for Action |
| 13 | FORMATION_VIOLATION = 'FormationViolation', |
| 14 | // Payload is syntactically correct but at least one field contains an invalid value |
| 15 | PROPERTY_RAINT_VIOLATION = 'PropertyraintViolation', |
| 16 | // Payload for Action is syntactically correct but at least one of the fields violates occurrence raints |
| 17 | OCCURRENCE_RAINT_VIOLATION = 'OccurrenceraintViolation', |
| 18 | // Payload for Action is syntactically correct but at least one of the fields violates data type raints (e.g. "somestring" = 12) |
| 19 | TYPERAINT_VIOLATION = 'TyperaintViolation', |
| 20 | // Any other error not covered by the previous ones |
| 21 | GENERIC_ERROR = 'GenericError', |
| 22 | } |