1.0.1 • Published 7 years ago
ts-exceptions v1.0.1
Exceptions
Library is built with Node 8, back-compatibility is not guranteed
Exceptions for extend Typescript error handling to have better experience with well-known Exception prototypes having built-in code property inside.
Usage
import {Exception} from "exceptions";
throw new Exception("Message", 500);