getMessage

fun getMessage(error: ErrorCode, context: Context? = null): String

Gets the string message for provided error. If GemSdk.getErrorDetails returns empty then will attempt to take it from R.string

Return

Error message or empty if not found.

Parameters

error

Error code.