Api Error

Api Error#

ApiErrorDetails#

An object containing the Api Error Api error details.

message ApiErrorDetails {
 optional string field = 1;
 string code = 2;
 map<string, string> args = 3;
}

Field

Type

Description

field

string

Optional.

code

string

Required. 200, 400, 500, etc.

args

map<string, string>

Required.

ApiError#

This is the record returned when an API-Error occurs

message ApiError {
 repeated ApiErrorDetails errors = 1;
}

Field

Type

Description

errors

ApiErrorDetails

Required. Repeated.