UNPKG

@bare-ts/lib

Version:

TypeScript library for BARE, a compact and simple binary-serialization format

13 lines (12 loc) 295 B
/** * @sealed */ export declare class BareError extends Error { name: string; readonly issue: string; /** * Byte offset in the read buffer where the error occurred. */ readonly offset: number; constructor(offset: number, issue: string, options?: ErrorOptions); }