io.paymenthighway.sdk.util / Result / getErrorOrNull

getErrorOrNull

fun getErrorOrNull(): E?

Returns the associated exception error of type E if operation encountered a failure, otherwise null