/// /// import { ErrorCode, UpdateType } from '../../Constants'; /** * Data sent as the data segment of message type: BREAKPOINT_ERROR ``` struct BreakpointErrorUpdateData { uint32 flags; // Always 0, reserved for future use uint32 breakpoint_id; uint32 num_compile_errors; utf8z[num_compile_errors] compile_errors; uint32 num_runtime_errors; utf8z[num_runtime_errors] runtime_errors; uint32 num_other_errors; // E.g., permissions errors utf8z[num_other_errors] other_errors; } ``` */ export declare class BreakpointErrorUpdate { static fromJson(data: { breakpointId: number; compileErrors: string[]; runtimeErrors: string[]; otherErrors: string[]; }): BreakpointErrorUpdate; static fromBuffer(buffer: Buffer): BreakpointErrorUpdate; toBuffer(): Buffer; success: boolean; /** * How many bytes were read by the `fromBuffer` method. Only populated when constructed by `fromBuffer` */ readOffset: number; data: { breakpointId: number; compileErrors: string[]; runtimeErrors: string[]; otherErrors: string[]; packetLength: number; requestId: number; errorCode: ErrorCode; updateType: UpdateType; }; }