Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 341 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 341 Bytes

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