Exception: RgGen::RegisterMapError
- Inherits:
-
RuntimeError
- Object
- StandardError
- RgGenError
- RuntimeError
- RgGen::RegisterMapError
- Defined in:
- lib/rggen/exceptions.rb
Instance Method Summary collapse
-
#initialize(message, position = nil) ⇒ RegisterMapError
constructor
A new instance of RegisterMapError.
- #to_s ⇒ Object
Constructor Details
#initialize(message, position = nil) ⇒ RegisterMapError
Returns a new instance of RegisterMapError.
18 19 20 21 |
# File 'lib/rggen/exceptions.rb', line 18 def initialize(, position = nil) super() @position = position end |
Instance Method Details
#to_s ⇒ Object
23 24 25 26 |
# File 'lib/rggen/exceptions.rb', line 23 def to_s return super.to_s unless @position "#{super.to_s} -- #{@position}" end |