Exception: Ruuuby::DescriptiveStandardError
- Defined in:
- lib/ruuuby/arg_err.rb
Instance Method Summary collapse
-
#initialize(the_self, the_error_message) ⇒ DescriptiveStandardError
constructor
A new instance of DescriptiveStandardError.
Constructor Details
#initialize(the_self, the_error_message) ⇒ DescriptiveStandardError
Returns a new instance of DescriptiveStandardError.
10 11 12 |
# File 'lib/ruuuby/arg_err.rb', line 10 def initialize(the_self, ) super("| c{#{the_self.Ⓣ}}-> m{#{caller_locations(2, 1).first.base_label.to_s}} w/ self{#{the_self.to_s}} #{the_error_message} |") end |