create-boom-error
Advanced tools
Comparing version 3.0.0 to 3.0.1
import { Boom } from '@hapi/boom'; | ||
declare class DecoratedBoom extends Boom<any> { | ||
constructor(...args: any[]) | ||
name: string; | ||
@@ -9,2 +12,2 @@ code: string; | ||
export declare function isDecoratedBoom(err: unknown): err is DecoratedBoom; | ||
export declare function createBoomError(name: string, statusCode: number, message?: string | ((...args: unknown[]) => string), code?: string): typeof DecoratedBoom; | ||
export declare function createBoomError(name: string, statusCode: number, message?: string | ((...args: any[]) => string), code?: string): typeof DecoratedBoom<T>; |
{ | ||
"name": "create-boom-error", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Simply create sub-classed Boom errors for Hapi applications.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
9676
121