Skip to Content
API ReferenceUtilsLazarilloMapsError

LazarilloMapsError

open class LazarilloMapsError(message: String? = "") : Throwable

Base class for all Lazarillo SDK errors.

Extends Throwable  to allow these errors to be thrown and caught in standard Kotlin exception handling. Each subclass overrides getErrorCode to return the corresponding LzSdkErrors ordinal value.

See also

InvalidMapIdError
MapNotFoundError
MarkerNotFoundError
InvalidArgumentsError
PermissionDeniedLocation
LazarilloMapNotAvailable
BoundsNotFoundError

Inheritors

InvalidMapIdError
MapNotFoundError
MarkerNotFoundError
InvalidArgumentsError
PermissionDeniedLocation
LazarilloMapNotAvailable
BoundsNotFoundError

Constructors

LazarilloMapsErrorconstructor(message: String ? = "")

Properties

| cause | open val cause: Throwable ? | | message | open val message: String ? |

Functions

| addSuppressed | fun addSuppressed(p0: Throwable ) | | fillInStackTrace | open fun fillInStackTrace(): Throwable  |

getErrorCode

open fun getErrorCode(): Int

| getLocalizedMessage | open fun getLocalizedMessage(): String  | | getStackTrace | open fun getStackTrace(): Array <StackTraceElement > | | getSuppressed | fun getSuppressed(): Array <Throwable > | | initCause | open fun initCause(p0: Throwable ): Throwable  | | printStackTrace | open fun printStackTrace()
open fun printStackTrace(p0: PrintStream )
open fun printStackTrace(p0: PrintWriter ) | | setStackTrace | open fun setStackTrace(p0: Array <StackTraceElement >) |

Last updated on