UtilStatusProto

GoogleApi.ContentWarehouse.V1.Model.UtilStatusProto


Table of Contents ▼

Jump to a specific part of the page:

Description

Wire-format for a Status object

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. canonicalCode (type: integer(), default: nil)
    - 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.
  2. code (type: integer(), default: nil)
    - 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
  3. message (type: String.t, default: nil)
    - Detail message
  4. messageSet (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet, default: nil)
    - message_set associates an arbitrary proto message with the status.
  5. space (type: String.t, default: nil)
    - The following are usually only present when code != 0 Space to which this status belongs

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.UtilStatusProto{
canonicalCode: integer() | nil,
code: integer() | nil,
message: String.t() | nil,
messageSet: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
space: String.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.UtilStatusProto