Base class of exceptions from OptionParser
.
Reason
which caused the error.
# File lib/optparse.rb, line 2083 def message "#{reason}: #{args.join(' ')}#{additional[@arg0] if additional}" end
Default stringizing method to emit standard error message.
# File lib/optparse.rb, line 2056 def set_backtrace(array) super(self.class.filter_backtrace(array)) end
Exception#set_backtrace
Ruby Core © 1993–2020 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.