"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SocketErrorException = void 0;
/** The exception type can be thrown to cause the default error handler to write a raw error response to the socket */
class SocketErrorException extends Error {
    code;
    message;
    constructor(code, message) {
        super(message);
        this.code = code;
        this.message = message;
    }
}
exports.SocketErrorException = SocketErrorException;
//# sourceMappingURL=types.js.map