/**
 * Core types for the Axiom Lattice Client SDK
 */
/**
 * Custom error classes
 */
export class ApiError extends Error {
    constructor(message, statusCode, responseBody) {
        super(message);
        this.statusCode = statusCode;
        this.responseBody = responseBody;
        this.name = "ApiError";
    }
}
export class NetworkError extends Error {
    constructor(message) {
        super(message);
        this.name = "NetworkError";
    }
}
export class AuthenticationError extends Error {
    constructor(message) {
        super(message);
        this.name = "AuthenticationError";
    }
}
//# sourceMappingURL=types.js.map