export class A2AProtocolError extends Error {
    code;
    httpStatus;
    constructor(code, message, httpStatus = 400) {
        super(message);
        this.code = code;
        this.httpStatus = httpStatus;
        this.name = 'A2AProtocolError';
    }
}
//# sourceMappingURL=index.js.map