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

StatusProto

import type { StatusProto } from "https://googleapis.deno.dev/v1/firebase:v1beta1.ts";

Wire-format for a Status object

interface StatusProto {
canonicalCode?: number;
code?: number;
message?: string;
messageSet?: MessageSet;
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

§
message?: string
[src]

Detail message

§
messageSet?: MessageSet
[src]

message_set associates an arbitrary proto message with the status.

§
space?: string
[src]

The following are usually only present when code != 0 Space to which this status belongs