catchKrosstalkExceptions

inline fun <T> catchKrosstalkExceptions(block: () -> T): KrosstalkResult<T>

Catch and unwrap KrosstalkServerException and KrosstalkHttpError, without converting other exceptions to KrosstalkServerException.

See also

Sources

Link copied to clipboard