GeocoderErrorMapper

class GeocoderErrorMapper(context: Context, gson: Gson)

Converts various Exceptions to error instances used by the BeNomad SDK

Constructors

Link copied to clipboard
constructor(context: Context, gson: Gson)

Functions

Link copied to clipboard
fun map(error: Exception, jsonString: String?): Error

Maps given Exception to concrete geocoder error type