Exception: Vpim::Agent::NotFound
- Inherits:
-
Exception
- Object
- Exception
- Vpim::Agent::NotFound
- Defined in:
- lib/vpim/agent/calendars.rb
Overview
On failure, raise this with an error message. text/plain for now, text/html later. Will convert to a 404 and a message.
Instance Method Summary collapse
-
#initialize(name, path) ⇒ NotFound
constructor
A new instance of NotFound.
Constructor Details
#initialize(name, path) ⇒ NotFound
Returns a new instance of NotFound.
20 21 22 |
# File 'lib/vpim/agent/calendars.rb', line 20 def initialize(name, path) super %{Resource "#{name}" under "#{path.prefix}" was not found!} end |