Exception: KnoxCall::NotAuthenticatedError
- Defined in:
- lib/knoxcall/errors.rb
Overview
Raised by credential auto-detection when NO usable credential is found —
no explicit creds (flat options or bootstrap:), no KNOXCALL_ACCESS_TOKEN /
KNOXCALL_API_KEY / KNOXCALL_CLIENT_ID + KNOXCALL_CLIENT_SECRET, and no
knoxcall login credentials file. A subclass of the base KnoxCall::Error —
this SDK's bootstrap error, as there is no separate BootstrapError class —
so existing rescue KnoxCall::Error keeps working, but distinctly typed so
callers can branch on "not logged in — offer KnoxCall.login" versus a
genuine misconfiguration (PARITY §1/§14). Also raised by the interactive
login helpers when prompting would be unsafe (no TTY / CI / opt-out).