Exception: FutureResource::ResourceAlreadySetException
- Inherits:
-
StandardError
- Object
- StandardError
- FutureResource::ResourceAlreadySetException
- Defined in:
- lib/future-resource.rb
Overview
Raised when the program tries to set a value for the resource that is already set.
Instance Method Summary collapse
-
#initialize ⇒ ResourceAlreadySetException
constructor
A new instance of ResourceAlreadySetException.
Constructor Details
#initialize ⇒ ResourceAlreadySetException
Returns a new instance of ResourceAlreadySetException.
105 106 107 |
# File 'lib/future-resource.rb', line 105 def initialize super "Cannot set this resource twice!" end |