Skip to content

Commit 7b43153

Browse files
committed
#25 rollback missed function
1 parent 9a22fbd commit 7b43153

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

errors/src/commonMain/kotlin/dev/icerock/moko/errors/mappers/ExceptionMappersStorage.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,10 @@ object ExceptionMappersStorage {
203203
}
204204
}
205205

206+
inline fun <E : Throwable, reified T : Any> throwableMapper(): (e: E) -> T {
207+
return dev.icerock.moko.errors.mappers.throwableMapper()
208+
}
209+
206210
/**
207211
* Listen all mappers calls. Useful for logging
208212
*

0 commit comments

Comments
 (0)