public final class ErrorUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getMessage(java.util.List<java.lang.Error> errors,
android.content.res.Resources resources)
Returns an error message based on the errorType found from the list of errors.
|
public static java.lang.String getMessage(java.util.List<java.lang.Error> errors, android.content.res.Resources resources)
errors
- the list of errors com.hyperwallet.android.sdk.R.string.unexpected_exceptionresources
- the resource responsible for generating the string