Updated on 2026-08-14

This commit is contained in:
Tangem 2023-08-09 13:24:48 +03:00
parent d1a09370c7
commit 3b33d4db0a
24 changed files with 363 additions and 484 deletions

View file

@ -1,13 +0,0 @@
package com.tangem.domain.core.raise
import arrow.core.raise.Raise
abstract class DelegatedRaise<Error, OtherError>(
private val otherRaise: Raise<OtherError>,
private val transformError: (Error) -> OtherError,
) : Raise<Error> {
override fun raise(r: Error): Nothing {
otherRaise.raise(transformError(r))
}
}