"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TestimNotFoundError = exports.TestimApiError = void 0;
class TestimApiErrorBase extends Error {
    constructor(code, message) {
        super(message);
        this.code = code;
    }
}
class TestimApiError extends TestimApiErrorBase {
    constructor(originalError, message, code) {
        super(code, message);
        this.originalError = originalError;
    }
}
exports.TestimApiError = TestimApiError;
class TestimNotFoundError extends TestimApiErrorBase {
    constructor(message) {
        super('E_FILE_NOT_FOUND', message);
    }
}
exports.TestimNotFoundError = TestimNotFoundError;
