Exception: ShellOpts::CompilerError

Inherits:
Error
  • Object
show all
Defined in:
lib/shellopts.rb

Overview

Raised when an error is detected in the usage string

Instance Method Summary collapse

Constructor Details

#initialize(start, message) ⇒ CompilerError

Returns a new instance of CompilerError.



209
210
211
212
# File 'lib/shellopts.rb', line 209

def initialize(start, message)
  super(message)
  set_backtrace(caller(start))
end