UNPKG

@paradeum/burrow

Version:

TypeScript library that calls a Hyperledger Burrow server over GRPC.

31 lines (24 loc) 1.04 kB
// package: errors // file: errors.proto import * as jspb from "google-protobuf"; import * as github_com_gogo_protobuf_gogoproto_gogo_pb from "./github.com/gogo/protobuf/gogoproto/gogo_pb"; export class Exception extends jspb.Message { getCode(): number; setCode(value: number): void; getException(): string; setException(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Exception.AsObject; static toObject(includeInstance: boolean, msg: Exception): Exception.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: Exception, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): Exception; static deserializeBinaryFromReader(message: Exception, reader: jspb.BinaryReader): Exception; } export namespace Exception { export type AsObject = { code: number, exception: string, } }