Removed obsolete dir
Numeric conversions for all ids coming in as route req params. Infrastructure for proper error message when dependencies prevent entity deletion.
This commit is contained in:
parent
2b57396a5d
commit
0a08088893
636 changed files with 291 additions and 73346 deletions
|
@ -106,6 +106,8 @@ class InvalidConfirmationForUnsubscriptionError extends InteroperableError {
|
|||
}
|
||||
}
|
||||
|
||||
const defaultNoOfDependenciesReported = 20;
|
||||
|
||||
class DependencyPresentError extends InteroperableError {
|
||||
constructor(msg, data) {
|
||||
super('DependencyPresentError', msg, data);
|
||||
|
@ -154,5 +156,6 @@ function deserialize(errorObj) {
|
|||
}
|
||||
|
||||
module.exports = Object.assign({}, errorTypes, {
|
||||
defaultNoOfDependenciesReported,
|
||||
deserialize
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue