locations property

List<SourceLocation>? locations
getter/setter pair

The source locations where the error occurred.

Locations should help developers and toolings identify the source of error quickly. Included in admin endpoints (ExecuteGraphql, ExecuteGraphqlRead, UpdateSchema and UpdateConnector) to reference the provided GraphQL GQL document. Omitted in ExecuteMutation and ExecuteQuery since the caller shouldn't have access access the underlying GQL source.

Implementation

core.List<SourceLocation>? locations;