Exception: Dcmgr::Cli::UnknownModelError
- Defined in:
- lib/dcmgr/cli/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(model, exit_code = 100) ⇒ UnknownModelError
constructor
A new instance of UnknownModelError.
Constructor Details
#initialize(model, exit_code = 100) ⇒ UnknownModelError
Returns a new instance of UnknownModelError.
41 42 43 |
# File 'lib/dcmgr/cli/errors.rb', line 41 def initialize(model,exit_code=100) super("Not a sequel model: '#{model}'.") end |
Class Method Details
.raise(model, exit_code = 100) ⇒ Object
45 46 47 |
# File 'lib/dcmgr/cli/errors.rb', line 45 def self.raise(model,exit_code=100) super end |