Exception: Halunke::HError
- Inherits:
-
StandardError
- Object
- StandardError
- Halunke::HError
- Defined in:
- lib/halunke/herror.rb
Direct Known Subclasses
HBarewordAlreadyAssigned, HEmptyFunction, HInvalidDictionary, HInvalidMessage, HInvalidMessageName, HUnassignedBareword, HUnknownAttribute, HUnknownMessage
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#source_code_position ⇒ Object
readonly
Returns the value of attribute source_code_position.
Instance Method Summary collapse
-
#initialize(message, source_code_position) ⇒ HError
constructor
A new instance of HError.
Constructor Details
#initialize(message, source_code_position) ⇒ HError
Returns a new instance of HError.
8 9 10 11 12 |
# File 'lib/halunke/herror.rb', line 8 def initialize(, source_code_position) @message = @source_code_position = source_code_position super() end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
5 6 7 |
# File 'lib/halunke/herror.rb', line 5 def @message end |
#source_code_position ⇒ Object (readonly)
Returns the value of attribute source_code_position.
6 7 8 |
# File 'lib/halunke/herror.rb', line 6 def source_code_position @source_code_position end |