UNPKG

snugerror

Version:

Snugerror is a library that facilitates the handling of errors in a given routine; was raised aimed at separating the code focused on business rules and error checking.

7 lines (6 loc) 189 B
declare function CustomError(name?: string, message?: string): Error; declare namespace CustomError { var prototype: any; var __proto__: ErrorConstructor; } export { CustomError };