UNPKG

@brimdata/zealot

Version:

The Javascript Client for Zed Lakes

14 lines (13 loc) 446 B
import * as zjson from "../../zjson"; import { EncodeStream } from "../encode-stream"; import { TypeError } from "../types/type-error"; import { Value } from "./types"; export declare class Error implements Value { type: TypeError; value: Value | null; constructor(type: TypeError, value: Value | null); toJS(): globalThis.Error; toString(): string; serialize(stream: EncodeStream): zjson.Value; isUnset(): boolean; }