github.com/hyperledger/burrow@v0.34.5-0.20220512172541-77f09336001d/js/proto/errors_pb.d.ts (about) 1 // package: errors 2 // file: errors.proto 3 4 /* tslint:disable */ 5 /* eslint-disable */ 6 7 import * as jspb from "google-protobuf"; 8 import * as gogoproto_gogo_pb from "./gogoproto/gogo_pb"; 9 10 export class Exception extends jspb.Message { 11 getCode(): number; 12 setCode(value: number): Exception; 13 getException(): string; 14 setException(value: string): Exception; 15 16 serializeBinary(): Uint8Array; 17 toObject(includeInstance?: boolean): Exception.AsObject; 18 static toObject(includeInstance: boolean, msg: Exception): Exception.AsObject; 19 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; 20 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; 21 static serializeBinaryToWriter(message: Exception, writer: jspb.BinaryWriter): void; 22 static deserializeBinary(bytes: Uint8Array): Exception; 23 static deserializeBinaryFromReader(message: Exception, reader: jspb.BinaryReader): Exception; 24 } 25 26 export namespace Exception { 27 export type AsObject = { 28 code: number, 29 exception: string, 30 } 31 }