Exception: Wiq::NotAuthenticatedError

Inherits:
ConfigError show all
Defined in:
lib/wiq/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#code, #details, #exit_code, #hint

Instance Method Summary collapse

Constructor Details

#initializeNotAuthenticatedError

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