"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NotFoundError = void 0;
const domain_error_1 = require("./domain-error");
class NotFoundError extends domain_error_1.DomainError {
    code = 'NOT_FOUND';
    statusCode = 404;
    constructor(resource, identifier) {
        super(identifier ? `${resource} with identifier ${identifier} was not found` : `${resource} not found`);
    }
}
exports.NotFoundError = NotFoundError;
//# sourceMappingURL=not-found-error.js.map