ICommandError

[ Interface ]

export interface ICommandError {
    code: number;
    message?: string;
    errors?: {
        code: number;
        domain?: string;
        message?: string;
        position?: string;
    }[];
};

Properties

Name

Type

Description

code

number

Error code of the entire command

message [ optional ]

string

Plain text description of the error

errors

See below

Array with more detailed error information

Properties of the error array

Name

Type

Description

code

number

Error code of the individual command

domain [ optional ]

string

Origin of the individual error

message [ optional ]

string

Plain text description of the individual error

position [ optional ]

string

Additional information about the individual error

ICommandError 1:

Available from 1.8

ICommandError 2:

Redundant from version 1.10.1018.48. Replaced by TcHmi.IErrorDetails.