ts-stream
Version:
Type-safe object streams with seamless support for backpressure, ending, and error handling
15 lines (14 loc) • 380 B
TypeScript
/**
* Base class for wrapped errors.
*
* Copyright (C) 2015 Martin Poelstra
* License: MIT
*/
import BaseError from "./BaseError";
export declare class WrappedError extends BaseError {
readonly cause: Error;
constructor(name: string, message: string, cause: Error);
}
export declare class UnhandledAborterError extends WrappedError {
constructor(cause: Error);
}