StatusProto

Wire-format for a Status object

JSON representation
{
  "code": integer,
  "space": string,
  "message": string,
  "canonical_code": integer,
  "message_set": {
    object (MessageSet)
  }
}
Fields
code

integer

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

space

string

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

message

string

Detail message

canonical_code

integer

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.

message_set

object (MessageSet)

message_set associates an arbitrary proto message with the status.

MessageSet

This type has no fields.

This is proto2's version of MessageSet.