UNPKG

@tsdotnet/exceptions

Version:

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/tsdotnet/exceptions/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/@tsdotnet/exceptions.svg?style=flat-square)](https://www.npm

17 lines (16 loc) 581 B
/*! * @author electricessence / https://github.com/electricessence/ * Licensing: MIT * Based upon: https://msdn.microsoft.com/en-us/library/System.Exception%28v=vs.110%29.aspx */ export default class Exception implements Error { readonly message: string; readonly innerException?: unknown | undefined; readonly name: string; readonly stack: string; constructor(message?: string, innerException?: unknown | undefined); private captureStackTrace; toString(): string; protected getName(): string; protected toStringWithoutBrackets(): string; }