Google.Maps.Event.ErrorArgs

The base class for error arguments.

Summary

Inheritance

Inherits from: EventArgs
Direct Known Subclasses:Google.Maps.Event.MapLoadErrorArgs

Public types

DetailedErrorEnum{
  None = 0,
  UnsupportedClientVersion = 1,
  ClientError = 2,
  NetworkError = 3,
  InvalidRequest,
  PermissionDenied,
  NotFound,
  OutOfQuota,
  ServerError,
  Unknown
}
enum
Contains a set of values that specify additional error information.

Public attributes

DetailedErrorCode
Additional information about the cause of the error.
HttpResponseCode
readonly long
The HTTP response code, or 0 if there was no HTTP response.
Message
readonly string
Error message.

Public functions

ToString()
override string
A string representation of the error. This includes the detailed error code, the HTTP response code, and the error message.

Public types

DetailedErrorEnum

 DetailedErrorEnum

Contains a set of values that specify additional error information.

Properties
ClientError

The request to the Vector Tile API succeeded, but an error occurred on the client.

InvalidRequest

The request sent from the SDK to the Vector Tile API was invalid.

NetworkError

An error occurred at the network level. The SDK did not receive a response from the Vector Tile API.

Common causes are:

  • Loss of network connection. Consider checking Application.internetReachability.
  • The request exceeded its deadline. Consider increasing MapLoadErrorArgs.TimeoutSeconds.

None

No additional error information.

NotFound

Nothing exists at the URL that you used to query the Vector Tile API. Verify the value of MapsService.VectorTileApiAddress.

OutOfQuota

You exceeded the quota for the Vector Tile API.

PermissionDenied

The API key does not have permission to make requests to the Vector Tile API. Ensure that the value of MapsService.ApiKey is valid, that it has the Vector Tile API enabled, and that your app meets the key restrictions.

ServerError

An error occurred at the Vector Tile API server.

Unknown

An unknown error occurred. Check ErrorArgs.Message for further details.

UnsupportedClientVersion

This version of the SDK is unsupported, possibly in combination with this API key. Note: You should provide an upgrade path and/or a new API key.

Public attributes

DetailedErrorCode

readonly DetailedErrorEnum DetailedErrorCode

Additional information about the cause of the error.

HttpResponseCode

readonly long HttpResponseCode

The HTTP response code, or 0 if there was no HTTP response.

Note: This value can be 200 when the HTTP request succeeds, but contains unexpected content.

Message

readonly string Message

Error message.

Public functions

ToString

override string ToString()

A string representation of the error. This includes the detailed error code, the HTTP response code, and the error message.

Send feedback about...

Google Maps Platform gaming solution
Google Maps Platform gaming solution