Exception: Tomo::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Tomo::Error
- Includes:
- Colors
- Defined in:
- lib/tomo/error.rb,
lib/tomo/error/suggestions.rb
Direct Known Subclasses
CLI::Error, Configuration::PluginFileNotFoundError, Configuration::ProjectNotFoundError, Configuration::UnknownEnvironmentError, Configuration::UnknownPluginError, Configuration::UnspecifiedEnvironmentError, Console::NonInteractiveError, Runtime::ConcurrentRubyLoadError, Runtime::NoTasksError, Runtime::SettingsRequiredError, Runtime::TaskAbortedError, Runtime::TemplateNotFoundError, Runtime::UnknownTaskError, SSH::Error
Defined Under Namespace
Classes: Suggestions
Class Method Summary collapse
Methods included from Colors
Class Method Details
.raise_with(message = nil, attributes) ⇒ Object
9 10 11 12 13 |
# File 'lib/tomo/error.rb', line 9 def self.raise_with(=nil, attributes) err = new() attributes.each { |attr, value| err.public_send(:"#{attr}=", value) } raise err end |