withContext
fun IllegalArgumentException.withContext(vararg context: Pair<String?, Any?>): ContextedIllegalArgumentException
Converts this
into a ContextedIllegalArgumentException with context attached.
fun IllegalStateException.withContext(vararg context: Pair<String?, Any?>): ContextedIllegalStateException
Converts this
into a ContextedIllegalStateException with context attached.