Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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;
space?: string;
}

§Properties

§
canonicalCode?: number
[src]

copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6;

§
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 copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1;

§
message?: string
[src]

Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3;

§

message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5;

§
space?: string
[src]

copybara:strip_begin(b/383363683) Space to which this status belongs copybara:strip_end_and_replace optional string space = 2; // Space to which this status belongs