Exception: NexusCli::NexusCliError

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

Class Method Summary collapse

Class Method Details

.status_code(code) ⇒ Object



6
7
8
# File 'lib/nexus_cli/errors.rb', line 6

def status_code(code)
  define_method(:status_code) { code }
end