UNPKG

apim-developer-portal2

Version:

API management developer portal

13 lines (12 loc) 312 B
export class AppError extends Error { constructor( public readonly message: string, public readonly innerError?: Error ) { super(); Object.setPrototypeOf(this, AppError.prototype); } public toString(): string { return `${this.stack} `; } }