Blacklist functionality
Some API improvements
This commit is contained in:
parent
c343e4efd3
commit
9203b5cee7
40 changed files with 726 additions and 398 deletions
|
@ -70,7 +70,13 @@ class InvalidTokenError extends InteroperableError {
|
|||
|
||||
class DependencyNotFoundError extends InteroperableError {
|
||||
constructor(msg, data) {
|
||||
super('DependencyNotFound', msg, data);
|
||||
super('DependencyNotFoundError', msg, data);
|
||||
}
|
||||
}
|
||||
|
||||
class NamespaceNotFoundError extends InteroperableError {
|
||||
constructor(msg, data) {
|
||||
super('NamespaceNotFoundError', msg, data);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -94,6 +100,7 @@ const errorTypes = {
|
|||
IncorrectPasswordError,
|
||||
InvalidTokenError,
|
||||
DependencyNotFoundError,
|
||||
NamespaceNotFoundError,
|
||||
PermissionDeniedError
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue