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:
Tomas Bures 2018-09-29 13:30:29 +02:00
parent 2b57396a5d
commit 0a08088893
636 changed files with 291 additions and 73346 deletions

View file

@ -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
});