Errors
Decide by the code, never by the message: messages change, codes do not.
| Code | Meaning |
|---|---|
denied | The grant or the machine’s ceiling does not allow it. |
unauthorized | No live token of this contour came with the call, or its kind may not use this door. |
bad_args | The arguments do not match the tool’s schema. |
not_found | The path or the thing named does not exist. |
hash_required | fs_write would replace an existing file and no expect_sha256 came with it: get its SHA-256 with fs_stat and hash=true and pass it. |
needs_presence | The change raises what agents may do; only a person present at the machine can allow it. |
paused | The owner paused this machine (control.pause): no tool runs until it is resumed there. |
busy | The machine runs too many calls already. |
rate_limited | Too many input actions this minute. |
timed_out | No answer within the tool’s time. |
too_large | The call’s arguments, or its result, are more than one message between the server and a machine may hold (16 MiB). |
failed | The tool ran and failed. |
app_not_allowed | control is not allowed for this app on this machine. |
display_gone | The display left (unplugged or resized) between capture and action. |
element_gone | The element id is not in the tree any more. |
lease_paused | The owner paused control, or the lease was ended. |
not_dispatched | The event may not have reached the OS; it is never replayed. |
other | Any failure that has no code of its own; read the message. |
permission_missing | The OS has not granted screen capture or input to the machine program. |
screen_locked | The screen is locked or asleep. |
stale_capture | A pixel action without a current capture of that display, or the display changed. |
unknown_tool | This machine does not have the tool (an older program). |