Exception: Wiq::NotAuthenticatedError
- Inherits:
-
ConfigError
- Object
- StandardError
- Error
- ConfigError
- Wiq::NotAuthenticatedError
- Defined in:
- lib/wiq/errors.rb
Instance Attribute Summary
Attributes inherited from Error
#code, #details, #exit_code, #hint
Instance Method Summary collapse
-
#initialize ⇒ NotAuthenticatedError
constructor
A new instance of NotAuthenticatedError.
Constructor Details
#initialize ⇒ NotAuthenticatedError
Returns a new instance of NotAuthenticatedError.
33 34 35 36 37 38 39 |
# File 'lib/wiq/errors.rb', line 33 def initialize super( "No personal access token configured.", code: "not_authenticated", hint: "Run `wiq auth login` to store a PAT for this host." ) end |