"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BikError = void 0;
const cloud_library_1 = require("@dfns/cloud-library");
class BikError extends cloud_library_1.ServiceError {
    constructor(httpStatus, message) {
        super(httpStatus, true, message);
    }
    static signatureMissing(signature) {
        return new BikError(500, `Signature entity ${signature.id} has empty signature: r:${signature.r}, s:${signature.s}`);
    }
}
exports.BikError = BikError;
