/** * Interface representing task failure details. * This is used for retry handlers to inspect failure information. */ export interface TaskFailureDetails { /** The type/class name of the error */ readonly errorType: string; /** The error message */ readonly message: string; /** The stack trace, if available */ readonly stackTrace?: string; } export declare class FailureDetails implements TaskFailureDetails { private _message; private _errorType; private _stackTrace; constructor(message: string, errorType: string, stackTrace?: string); get message(): string; get errorType(): string; get stackTrace(): string | undefined; }