import { TypeORMError } from "./TypeORMError";
/**
 * Thrown if custom repository was not found.
 */
export class CustomRepositoryNotFoundError extends TypeORMError {
    constructor(repository) {
        super(`Custom repository ${repository instanceof Function ? repository.name : repository.constructor.name} was not found. ` +
            `Did you forgot to put @EntityRepository decorator on it?`);
    }
}

//# sourceMappingURL=CustomRepositoryNotFoundError.js.map
