Skip to Content
API ReferenceUtilsLazarilloMapErrorObject

LazarilloMapErrorObject

class LazarilloMapErrorObject(val code: Int, val message: String, val extra: HashMap<String, Any> = HashMap())

Serializable error response object used to communicate SDK errors to consumers.

Converts to a JSON representation via toString for interoperability with plugin-based architectures (e.g., Capacitor bridge).

Constructors

LazarilloMapErrorObjectconstructor(code: Int , message: String , extra: HashMap <String , Any > = HashMap())

Properties

code

val code: Int

Numeric error code corresponding to a LzSdkErrors ordinal.

extra

val extra: HashMap<String, Any>

Additional contextual data associated with the error.

message

val message: String

Human-readable description of the error.

Functions

toString

open override fun toString(): String
Last updated on