3 const { Errors
} = require('@squeep/api-dingus');
5 class DatabaseError
extends Error
{
8 Error
.captureStackTrace(DatabaseError
);
12 /* istanbul ignore next */
13 return this.constructor.name
;
17 class InternalInconsistencyError
extends Error
{
18 constructor(...args
) {
20 Error
.captureStackTrace(InternalInconsistencyError
);
24 /* istanbul ignore next */
25 return this.constructor.name
;
32 InternalInconsistencyError
,