Exception: Wiq::HostUnsetError

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

#initializeHostUnsetError

Returns a new instance of HostUnsetError.



23
24
25
26
27
28
29
# File 'lib/wiq/errors.rb', line 23

def initialize
  super(
    "No WIQ host configured.",
    code: "host_unset",
    hint: "Run `wiq auth login` to configure a host and token, or pass --host."
  )
end