Exception: Shaf::Profiles::ProfileNotFoundError
- Inherits:
-
Errors::NotFoundError
- Object
- StandardError
- Error
- Errors::ServerError
- Errors::NotFoundError
- Shaf::Profiles::ProfileNotFoundError
- Defined in:
- lib/shaf/profiles.rb
Instance Attribute Summary
Attributes inherited from Errors::NotFoundError
Attributes inherited from Errors::ServerError
Instance Method Summary collapse
-
#initialize(name) ⇒ ProfileNotFoundError
constructor
A new instance of ProfileNotFoundError.
Methods inherited from Errors::NotFoundError
Methods inherited from Errors::ServerError
Constructor Details
#initialize(name) ⇒ ProfileNotFoundError
Returns a new instance of ProfileNotFoundError.
6 7 8 9 |
# File 'lib/shaf/profiles.rb', line 6 def initialize(name) msg = %Q(Profile with name "#{name}" does not exist) super(msg, id: name) end |