/** * ErrorWithCause extends the default node Error to support causes. * Each error can have one cause. The stack of the causing error is appended * with an indentation of 4 spaces to the stack of the outer error. */ export declare class ErrorWithCause extends Error { cause: Error | undefined; constructor(message: string, cause?: Error | unknown); }