set

abstract operator fun set(key: Any, error: Throwable)

Sets the caught error of the key.