IErrorDetails
[ Interface ]
export interface IErrorDetails {
code: TcHmi.Errors | number;
domain?: string;
message?: string;
reason?: string;
errors?: TcHmi.IErrorDetails[];
};
This interface enables a precise analysis of an error through a hierarchical structure. See also the function TcHmi.Log.buildMessage, which returns the error chain in formatted form.
Properties
Name | Type | Description |
---|---|---|
code | Numeric value referenced by a framework or server error. | |
domain [optional] | The name of the server or framework domain where the error occurred. | |
message [optional] | The text representation of the error | |
reason [optional] | Plain text description of the error | |
errors [optional] | A list of errors that led to this current error. |
Available from version 1.10.1018.48 |