@brimdata/zealot
Version:
The Javascript Client for Zed Lakes
14 lines (13 loc) • 446 B
TypeScript
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;
}