/** * @module node-opcua-transport */ import { type UAString } from "node-opcua-basic-types"; import type { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; import { BaseUAObject } from "node-opcua-factory"; import { type StatusCode } from "node-opcua-status-code"; export declare class TCPErrorMessage extends BaseUAObject { static possibleFields: string[]; statusCode: StatusCode; reason: UAString; constructor(options?: { statusCode?: StatusCode; reason?: string; }); encode(stream: OutputBinaryStream): void; decode(stream: BinaryStream): void; } /** * the error an Error Message (ERR) received from the peer is reported with. * A Client that receives an Error Message reports it to the application * (OPC 10000-6 ยง7.1.5): the StatusCode and Reason stay available here. */ export declare class TCPErrorMessageReceivedError extends Error { readonly statusCode: StatusCode; readonly reason: UAString; constructor(statusCode: StatusCode, reason: UAString); } //# sourceMappingURL=TCPErrorMessage.d.ts.map