Exception: Poefy::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Poefy::Error
- Defined in:
- lib/poefy/exceptions.rb
Direct Known Subclasses
Instance Method Summary collapse
- #console_msg ⇒ Object
-
#initialize(short_message, console_message = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(short_message, console_message = nil) ⇒ Error
Returns a new instance of Error.
17 18 19 |
# File 'lib/poefy/exceptions.rb', line 17 def initialize , = nil super end |
Instance Method Details
#console_msg ⇒ Object
14 15 16 |
# File 'lib/poefy/exceptions.rb', line 14 def console_msg "ERROR: " + msg end |