projects
/
squeep-resource-authentication-module
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ca2fc246497e50bff789bb3611abe4f87201b032
[squeep-resource-authentication-module]
/
lib
/
errors.js
1
'use strict'
;
2
3
const
{
Errors
} =
require
(
'@squeep/api-dingus'
);
4
5
class
ResourceAuthenticatorError
extends
Error
{
6
constructor
(...
args
) {
7
super
(...
args
);
8
delete this
.
stack
;
9
}
10
get
name
() {
11
return this
.
constructor
.
name
;
12
}
13
}
14
15
module
.
exports
= {
16
...
Errors
,
17
ResourceAuthenticatorError
,
18
};