-
public final class ResourceEvent.ErrorGraphQL error details
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classResourceEvent.Error.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringmessageprivate final Stringcodeprivate final List<ResourceEvent.Location>locationsprivate final List<ResourceEvent.Path>path
-
Constructor Summary
Constructors Constructor Description ResourceEvent.Error(String message, String code, List<ResourceEvent.Location> locations, List<ResourceEvent.Path> path)
-
Method Summary
Modifier and Type Method Description final StringgetMessage()final StringgetCode()final List<ResourceEvent.Location>getLocations()final List<ResourceEvent.Path>getPath()final JsonElementtoJson()-
-
Constructor Detail
-
ResourceEvent.Error
ResourceEvent.Error(String message, String code, List<ResourceEvent.Location> locations, List<ResourceEvent.Path> path)
- Parameters:
message- Error messagecode- Error code (used by some providers)locations- Array of error locations in the GraphQL querypath- Path to the field that caused the error
-
-
Method Detail
-
getMessage
final String getMessage()
-
getLocations
final List<ResourceEvent.Location> getLocations()
-
getPath
final List<ResourceEvent.Path> getPath()
-
toJson
final JsonElement toJson()
-
-
-
-