Documentation
¶
Overview ¶
Package refusal is a leaf so every domain package can return refusals without importing internal/cli.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Code ¶
type Code string
const ( Usage Code = "usage" NoRun Code = "no-run" Record Code = "record" Origin Code = "origin" PR Code = "pr" SameHead Code = "same-head" Auth Code = "auth" Token Code = "token" Input Code = "input" Location Code = "location" Markdown Code = "markdown" Version Code = "version" Count Code = "count" NotFound Code = "not-found" Lock Code = "lock" TTY Code = "tty" HeadMoved Code = "head-moved" OwnPR Code = "own-pr" Blocking Code = "blocking" NotReady Code = "not-ready" Empty Code = "empty" Attempt Code = "attempt" Changed Code = "changed" PreviousMoved Code = "previous-moved" // PreviousUnreadable is a previous loupe review that exists, or may, but cannot be read back, as distinct from // not-found, which a caller reads as there being no earlier findings to carry. PreviousUnreadable Code = "previous-unreadable" Sticky Code = "sticky" Viewer Code = "viewer" Timeout Code = "timeout" GitHub Code = "github" NoPaneHost Code = "no-pane-host" PaneFailed Code = "pane-failed" ReviewOpen Code = "review-open" Returned Code = "returned" WrongMode Code = "wrong-mode" UpdateUnsupported Code = "update-unsupported" Download Code = "download" InstallFailed Code = "install-failed" Internal Code = "internal" )
Codes are exactly the error table in specs/001-loupe-v1/contracts/cli.md; agents branch on them.