index.js 1.8 KB

123456789101112131415161718192021222324252627282930313233
  1. 'use strict';
  2. exports.BaseError = require('./base-error');
  3. exports.AggregateError = require('./aggregate-error');
  4. exports.AsyncQueueError = require('../dialects/mssql/async-queue').AsyncQueueError;
  5. exports.AssociationError = require('./association-error');
  6. exports.BulkRecordError = require('./bulk-record-error');
  7. exports.ConnectionError = require('./connection-error');
  8. exports.DatabaseError = require('./database-error');
  9. exports.EagerLoadingError = require('./eager-loading-error');
  10. exports.EmptyResultError = require('./empty-result-error');
  11. exports.InstanceError = require('./instance-error');
  12. exports.OptimisticLockError = require('./optimistic-lock-error');
  13. exports.QueryError = require('./query-error');
  14. exports.SequelizeScopeError = require('./sequelize-scope-error');
  15. exports.ValidationError = require('./validation-error');
  16. exports.ValidationErrorItem = exports.ValidationError.ValidationErrorItem;
  17. exports.AccessDeniedError = require('./connection/access-denied-error');
  18. exports.ConnectionAcquireTimeoutError = require('./connection/connection-acquire-timeout-error');
  19. exports.ConnectionRefusedError = require('./connection/connection-refused-error');
  20. exports.ConnectionTimedOutError = require('./connection/connection-timed-out-error');
  21. exports.HostNotFoundError = require('./connection/host-not-found-error');
  22. exports.HostNotReachableError = require('./connection/host-not-reachable-error');
  23. exports.InvalidConnectionError = require('./connection/invalid-connection-error');
  24. exports.ExclusionConstraintError = require('./database/exclusion-constraint-error');
  25. exports.ForeignKeyConstraintError = require('./database/foreign-key-constraint-error');
  26. exports.TimeoutError = require('./database/timeout-error');
  27. exports.UnknownConstraintError = require('./database/unknown-constraint-error');
  28. exports.UniqueConstraintError = require('./validation/unique-constraint-error');