ModelError
Error message ModelError
export interface ModelError {
'errorCode'?: string;
'exceptionMessage'?: string;
'language'?: string;
'message'?: string;
'position'?: number;
'reason'?: string;
'subject'?: string;
'subjectType'?: string;
'type'?: string;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
errorCode | Optional | string | Error code {string} ModelError |
exceptionMessage | Optional | string | {string} ModelError |
language | Optional | string | {string} ModelError |
message | Optional | string | Descriptive, human readable error message. {string} ModelError |
position | Optional | number | {number} ModelError |
reason | Optional | string | Additional classification specific for each error type e.g. 'noStock'. {string} ModelError |
subject | Optional | string | Identifier of the related object e.g. '1'. {string} ModelError |
subjectType | Optional | string | Type of the object related to the error e.g. 'entry'. {string} ModelError |
type | Optional | string | Type of the error e.g. 'LowStockError'. {string} ModelError |