npm.io
1.0.1 • Published 9 years ago

ts-exceptions

Licence
—
Version
1.0.1
Deps
0
Vulns
0
Weekly
0

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);