Error messages from an operation.

interface ErrorCollection {
    errorMessages?: string[];
    errors?: {
        [key: string]: string;
    };
    status?: number;
}

Properties

errorMessages?: string[]

The list of error messages produced by this operation. For example, "input parameter 'key' must be provided"

errors?: {
    [key: string]: string;
}

The list of errors by parameter returned by the operation. For example,"projectKey": "Project keys must start with an uppercase letter, followed by one or more uppercase alphanumeric characters."

status?: number