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