GoogleMaps Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSGeocoderErrorCode
enum GMSGeocoderErrorCode : NSInteger {}
GMSGeocoder
error codes, embedded in NSError.
-
Declaration
Swift
case invalidCoordinate = 1
Objective-C
kGMSGeocoderErrorInvalidCoordinate = 1
-
Declaration
Swift
case `internal` = 2
Objective-C
kGMSGeocoderErrorInternal
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[],["The content defines error codes for the `GMSGeocoder` class, which are embedded in `NSError`. There are two specific error codes: `kGMSGeocoderErrorInvalidCoordinate` (value 1), indicating an invalid coordinate, and `kGMSGeocoderErrorInternal` (value 2), denoting an internal error. Both codes have equivalent declarations in Swift (using `case`) and Objective-C (using `kGMSGeocoderError`).\n"],null,[]]