UNPKG

ts-stream

Version:

Type-safe object streams with seamless support for backpressure, ending, and error handling

11 lines (10 loc) 215 B
/** * Base class for custom errors. * * Copyright (C) 2015 Martin Poelstra * License: MIT */ export default class BaseError extends Error { stack?: string; constructor(name: string, message: string); }