Exception: Pwl::Locker::KeyNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Pwl::Locker::KeyNotFoundError
- Defined in:
- lib/pwl/locker.rb
Instance Method Summary collapse
-
#initialize(key) ⇒ KeyNotFoundError
constructor
A new instance of KeyNotFoundError.
Constructor Details
#initialize(key) ⇒ KeyNotFoundError
Returns a new instance of KeyNotFoundError.
28 29 30 |
# File 'lib/pwl/locker.rb', line 28 def initialize(key) super("No entry was found for #{key}") end |