exceptionOrNull

Returns the AdaptyError if this is AdaptyResult.Error, or null if it is AdaptyResult.Success.