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