kotbase
Toggle table of contents
3.1
Select version
3.1
3.0
apple
Platform filter
apple
Switch theme
Search in API
kotbase
couchbase-lite
/
kotbase.ext
/
wrapError
wrap
Error
apple
fun
<
R
,
E
:
Exception
>
wrapError
(
exceptionFactory
:
NSError
.
(
)
->
E
,
action
:
(
error
:
CPointer
<
ObjCObjectVar
<
NSError
?
>
>
)
->
R
)
:
R
(
source
)
fun
<
R
>
wrapError
(
action
:
(
error
:
CPointer
<
ObjCObjectVar
<
NSError
?
>
>
)
->
R
)
:
R
(
source
)