We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a22fbd commit 7b43153Copy full SHA for 7b43153
1 file changed
errors/src/commonMain/kotlin/dev/icerock/moko/errors/mappers/ExceptionMappersStorage.kt
@@ -203,6 +203,10 @@ object ExceptionMappersStorage {
203
}
204
205
206
+ inline fun <E : Throwable, reified T : Any> throwableMapper(): (e: E) -> T {
207
+ return dev.icerock.moko.errors.mappers.throwableMapper()
208
+ }
209
+
210
/**
211
* Listen all mappers calls. Useful for logging
212
*
0 commit comments