Exception: RST::AbstractMethodCallError
- Inherits:
-
NotImplementedError
- Object
- NotImplementedError
- RST::AbstractMethodCallError
- Defined in:
- lib/errors/store_errors.rb
Overview
Exception thrown when an abstract method is called
Instance Method Summary collapse
-
#initialize(message = 'Please define ') ⇒ AbstractMethodCallError
constructor
A new instance of AbstractMethodCallError.
Constructor Details
#initialize(message = 'Please define ') ⇒ AbstractMethodCallError
Returns a new instance of AbstractMethodCallError.
6 7 8 9 10 11 12 |
# File 'lib/errors/store_errors.rb', line 6 def initialize ='Please define ' = [ , format_backtrace(caller_locations(2,1)), 'Called from:'] (3..24).to_a.each do |n| << format_backtrace(caller_locations(n,1)) end super(.join(" => ")) end |