Reference
ToolOperationException
Typed operation refusals and recovery of temporary presentations.
Usage context
| Module | Package | SDK source |
|---|---|---|
| Kotlin/Native | nimby | kotlin/src/nimby/ToolOperationException.kt |
Public API for SDK 0.9.0-alpha.2. Each entry provides the Kotlin signature and its contract: what the value means, conditions of use and effects to understand. Choose imports from the module shown above.
Imports on this page
import nimby.ToolOperationExceptionToolOperationException
nimby · class
class ToolOperationException(val status: Int, message: String) : IllegalStateExceptionTyped refusal of a tool operation. Distinguish isBusy from permanent errors; after an uncertain mutation, inspect the outcome instead of repeating the command.
ToolOperationException.status
nimby · val
val status: IntSDK status code retained for diagnosis. Use isBusy for the known temporary case without treating all errors as temporary.
ToolOperationException.isBusy
nimby · val
val isBusy: Booleantrue for temporary status-12 refusal. A read or presentation may wait for a later callback; an uncertain write must not be replayed automatically.