From 81311d413bbae316ed6f2e43d571cbf82590215b Mon Sep 17 00:00:00 2001 From: Danilo Alonso Date: Thu, 31 Mar 2022 19:00:46 -0400 Subject: [PATCH] docs: add isMissing to boom on types --- lib/index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/index.d.ts b/lib/index.d.ts index 108755d..71ac030 100755 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -23,6 +23,13 @@ export class Boom extends Error { */ isServer: boolean; + /** + * if true, indicates that auth is missing credentials and triggers a try on the next + * auth strategy. See https://github.com/hapijs/boom/blob/master/API.md#boomunauthorizedmessage-scheme-attributes + * + */ + isMissing?: boolean; + /** * The error message */