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.
import {Exception} from "exceptions";
throw new Exception("Message", 500);