Exception: VMC::Cli::CliError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cli/errors.rb

Class Method Summary collapse

Class Method Details

.error_code(code = nil) ⇒ Object



4
5
6
# File 'lib/cli/errors.rb', line 4

def self.error_code(code = nil)
  define_method(:error_code) { code }
end