UtilStatusProto
import type { UtilStatusProto } from "https://googleapis.deno.dev/v1/run:v2.ts";
Wire-format for a Status object
interface UtilStatusProto {
canonicalCode?: number;
code?: number;
message?: string;
messageSet?: Proto2BridgeMessageSet;
space?: string;
}§Properties
§
canonicalCode?: number
[src]The canonical error code (see codes.proto) that most closely corresponds to this status. This may be missing, and in the common case of the generic space, it definitely will be.
§
code?: number
[src]Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto
§
messageSet?: Proto2BridgeMessageSet
[src]message_set associates an arbitrary proto message with the status.