-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/58072 mtc closed guard (#2465)
* basic working model * hook into dfe signin process * tests and implementation --------- Co-authored-by: Mohsen Qureshi <[email protected]>
- Loading branch information
1 parent
588dcba
commit 1c8a95a
Showing
4 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
'use strict' | ||
|
||
const { mtcError } = require('./mtc-error') | ||
|
||
class SystemUnavailableError extends mtcError { | ||
constructor () { | ||
const message = 'The system is unavailable at this time' | ||
super(message) | ||
this.name = 'SystemUnavailableError' | ||
this.userMessage = message | ||
this.code = 'SYSTEM_UNAVAILABLE' | ||
} | ||
} | ||
|
||
module.exports = { | ||
SystemUnavailableError | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters