Exception: Zedkit::CLI::MissingCredentials
- Inherits:
-
CommandLineError
- Object
- StandardError
- ZedkitError
- CommandLineError
- Zedkit::CLI::MissingCredentials
- Defined in:
- lib/zedkit/cli/exceptions.rb
Instance Attribute Summary
Attributes inherited from CommandLineError
Instance Method Summary collapse
Methods inherited from CommandLineError
Constructor Details
This class inherits a constructor from Zedkit::CLI::CommandLineError
Instance Method Details
#to_s ⇒ Object
35 36 37 38 39 40 41 42 |
# File 'lib/zedkit/cli/exceptions.rb', line 35 def to_s rs = "\n" << Zedkit::CLI.ee(locale, :general, :error) << "\n" rs << " #{Zedkit::CLI.ee(locale, :general, :message)} => #{}.\n" unless .nil? rs << " You need to setup your Zedkit login or user API key in ~/.zedkit to the use the Zedkit CLI.\n" rs << " Example:\n" rs << " [email protected]\n" rs << " StRongPassWoRd\n\n" end |