Release candidate of namespace CRUD
This commit is contained in:
parent
5b82d3b540
commit
8e54879539
11 changed files with 354 additions and 111 deletions
|
@ -32,12 +32,20 @@ class LoopDetectedError extends InteroperableError {
|
|||
}
|
||||
}
|
||||
|
||||
class ChildDetectedError extends InteroperableError {
|
||||
constructor(msg, data) {
|
||||
super('ChildDetectedError', msg, data);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const errorTypes = {
|
||||
InteroperableError,
|
||||
NotLoggedInError,
|
||||
ChangedError,
|
||||
NotFoundError,
|
||||
LoopDetectedError
|
||||
LoopDetectedError,
|
||||
ChildDetectedError
|
||||
};
|
||||
|
||||
function deserialize(errorObj) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue