SfCommandErrorOptions<T>: {
    actions?: string[];
    cause?: unknown;
    code: string;
    commandName: string;
    context?: string;
    data?: T;
    exitCode: number;
    message: string;
    name?: string;
    result?: unknown;
    warnings?: (StructuredMessage | string)[];
}

Type Parameters

  • T extends ErrorDataProperties = ErrorDataProperties