ui / com.schibsted.account.ui / ErrorUtil

ErrorUtil

object ErrorUtil

Util class used to provide error related resources depending on ClientError.ErrorType

Functions

getErrorMessageRes

fun getErrorMessageRes(errorType: ErrorType, loginScreen: LoginScreen): Int

Provides the string resource matching with the error type

isServerError

fun isServerError(errorType: ErrorType): Boolean