var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });

// src/queries/exceptions.ts
var UnmanagedModelsShouldImplementSpecialMethodsException = class _UnmanagedModelsShouldImplementSpecialMethodsException extends Error {
  static {
    __name(this, "UnmanagedModelsShouldImplementSpecialMethodsException");
  }
  constructor(modelName, methodItShouldImplement) {
    super(`The model '${modelName}' is unmanaged, so it should implement the '${methodItShouldImplement}' +
      ' method in order to work properly in queries.`);
    this.name = _UnmanagedModelsShouldImplementSpecialMethodsException.name;
  }
};
var RelationNameIsNotPartOfModelException = class _RelationNameIsNotPartOfModelException extends Error {
  static {
    __name(this, "RelationNameIsNotPartOfModelException");
  }
  constructor(modelName, relationName) {
    super(`The relation name '${relationName}' is not part of the model '${modelName}'.`);
    this.name = _RelationNameIsNotPartOfModelException.name;
  }
};
export {
  RelationNameIsNotPartOfModelException,
  UnmanagedModelsShouldImplementSpecialMethodsException
};
