Exception: Zoom::Error::ProfileAlreadyExistsError

Inherits:
Zoom::Error
  • Object
show all
Defined in:
lib/zoom/error/profile_already_exists_error.rb

Instance Method Summary collapse

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