Updated on 2026-08-14
This commit is contained in:
parent
d1a09370c7
commit
3b33d4db0a
24 changed files with 363 additions and 484 deletions
|
|
@ -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))
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue