Exception: Errors::DoesntExist
- Inherits:
-
Exception
- Object
- Exception
- Errors::DoesntExist
- Defined in:
- lib/Olib/core/errors.rb
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ DoesntExist
constructor
A new instance of DoesntExist.
Constructor Details
#initialize(message = nil) ⇒ DoesntExist
Returns a new instance of DoesntExist.
80 81 82 83 84 85 86 87 |
# File 'lib/Olib/core/errors.rb', line 80 def initialize(=nil) unless = String.new .concat "\n\nYou tried to interact with something that no longer exists" .concat "\nyou should rescue this error if it isn't fatal and you don't want your script to break" end super Errors.indent end |