StdErrorsArgumentLocations

The ArgumentLocations structure describes which part(s) of the input to the operation caused the error. Some types of errors are caused by the value of one of the inputs to the operation, possibly due to an interaction with other inputs to the operation. This structure is intended to be used as the payload to identify those inputs when the operation reports errors like InvalidArgument or NotFound. See Error.data.


Properties

string
primary Required

String describing the location of the input that triggered the error.


array of string
secondary Required

List (possibly empty) of strings describing the locations of other inputs that caused the the primary input to trigger the error.

JSON Example

{
	"primary": "string",
	"secondary": [
		"string"
	]
}

Feedback

Was this page helpful?