Exception: Zoom::Error::ProfileDoesNotExist
- Inherits:
-
Zoom::Error
- Object
- RuntimeError
- Zoom::Error
- Zoom::Error::ProfileDoesNotExist
- Defined in:
- lib/zoom/error/profile_does_not_exist.rb
Instance Method Summary collapse
-
#initialize(profile = nil) ⇒ ProfileDoesNotExist
constructor
A new instance of ProfileDoesNotExist.
Constructor Details
#initialize(profile = nil) ⇒ ProfileDoesNotExist
Returns a new instance of ProfileDoesNotExist.
2 3 4 5 |
# File 'lib/zoom/error/profile_does_not_exist.rb', line 2 def initialize(profile = nil) super("Profile does not exist: #{profile}") if (profile) super("Profile does not exist") if (profile.nil?) end |