Skip to content

Commit

Permalink
docs: add isMissing to boom on types (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
damusix committed May 1, 2022
1 parent 948268e commit c35a140
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ export class Boom<Data = any> 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
*/
Expand Down

0 comments on commit c35a140

Please sign in to comment.