3 const { DatabaseError
} = require('../errors');
5 class DataValidation
extends DatabaseError
{
8 Error
.captureStackTrace(DataValidation
);
12 class NotImplemented
extends DatabaseError
{
13 constructor(...args
) {
15 Error
.captureStackTrace(NotImplemented
);
19 class UnexpectedResult
extends DatabaseError
{
20 constructor(...args
) {
22 Error
.captureStackTrace(UnexpectedResult
);
26 class UnsupportedEngine
extends DatabaseError
{
27 constructor(...args
) {
29 Error
.captureStackTrace(UnsupportedEngine
);
33 class MigrationNeeded
extends DatabaseError
{
34 constructor(...args
) {