Skip to Content

LzSdkErrors

enum LzSdkErrors : Enum<LzSdkErrors>

SDK error codes used to identify the type of error that occurred during SDK operations.

Each value corresponds to a specific error condition and maps to an integer ordinal used in LazarilloMapErrorObject for serialization.

Entries

UNHANDLED_ERRORUNHANDLED_ERROR
An unexpected or uncategorized error that does not match any specific error type.
INVALID_MAP_IDINVALID_MAP_ID
The map identifier provided is missing or malformed.
MAP_NOT_FOUNDMAP_NOT_FOUND
No map instance could be found for the given identifier.
MARKER_NOT_FOUNDMARKER_NOT_FOUND
No marker could be found for the given identifier.
INVALID_ARGUMENTSINVALID_ARGUMENTS
A method was called with incorrect or invalid parameters.
PERMISSIONS_DENIED_LOCATIONPERMISSIONS_DENIED_LOCATION
The required location permission has not been granted by the user.
LAZARILLO_MAP_NOT_AVAILABLELAZARILLO_MAP_NOT_AVAILABLE
The map component has not been initialized or is not currently available.
BOUNDS_NOT_FOUNDBOUNDS_NOT_FOUND
The map bounds could not be computed from the current map state.

Properties

entries

val entries: EnumEntries<LzSdkErrors>

Returns a representation of an immutable list of all enum entries, in the order they’re declared.

name

val name: String

ordinal

val ordinal: Int

Functions

valueOf

fun valueOf(value: String): LzSdkErrors

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values

fun values(): Array<LzSdkErrors>

Returns an array containing the constants of this enum type, in the order they’re declared.

Last updated on