Defines common exceptions for Javascript that are missing in the standard : RuntimeError, NotImplementedError, InvalidArgument, OutOfRange, etc. and allow easy declaration of custom exceptions. Works in node.js + browser, AMD