Enum google_maps::error::Error [−][src]
pub enum Error {
InvalidLanguageCode(String),
InvalidLatitude(Decimal, Decimal),
InvalidLongitude(Decimal, Decimal),
InvalidLatLongString(String),
InvalidPlaceTypeCode(String),
InvalidRegionCode(String),
}
Expand description
Errors that may be produced by the root part of the Google Maps Platform API client.
Variants
API client library attempted to parse a string that contained an invalid
language code. See google_maps\src\language.rs
for more information.
Tuple Fields of InvalidLanguageCode
0: String
API client library attempted to convert a latitude/longitude pair that
contained an invalid latitude. See google_maps\src\latlng.rs
for more
information.
API client library attempted to convert a latitude/longitude pair that
contained an invalid longitude. See google_maps\src\latlng.rs
for more
information.
API client library attempted to convert a latitude/longitude pair string
that is invalid. See google_maps\src\latlng.rs
for more
information.
Tuple Fields of InvalidLatLongString
0: String
API client library attempted to parse a string that contained an invalid
place type code. See google_maps\src\place_type.rs
for more
information.
Tuple Fields of InvalidPlaceTypeCode
0: String
API client library attempted to parse a string that contained an invalid
region code. See google_maps\src\region.rs
for more information.
Tuple Fields of InvalidRegionCode
0: String
Trait Implementations
If the cause for the error is in an underlying library (not this library but a library this one depends on), this trait unwraps the original source error. This trait converts a Google Maps Platform API error type into the native error type of the underlying library.
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
use the Display impl or to_string()