Returns the encapsulated Throwable exception if this instance represents failure or null if it is success.
null
This function is a shorthand for fold(onSuccess = { null }, onFailure = { it }) (see fold).
fold(onSuccess = { null }, onFailure = { it })
Thanks for your feedback!