Class: Glia::Errors::AppleBusinessChatBusinessUsedByOtherSiteError
- Defined in:
- lib/glia/errors/client_errors.rb
Instance Attribute Summary
Attributes inherited from Error
#error_details, #message, #ref, #type
Instance Method Summary collapse
-
#initialize(message: nil) ⇒ AppleBusinessChatBusinessUsedByOtherSiteError
constructor
A new instance of AppleBusinessChatBusinessUsedByOtherSiteError.
Methods inherited from Error
Constructor Details
#initialize(message: nil) ⇒ AppleBusinessChatBusinessUsedByOtherSiteError
Returns a new instance of AppleBusinessChatBusinessUsedByOtherSiteError.
411 412 413 414 415 416 417 |
# File 'lib/glia/errors/client_errors.rb', line 411 def initialize(message: nil) super( type: APPLE_BUSINESS_CHAT_BUSINESS_USED_BY_OTHER_SITE_ERROR, ref: create_ref(APPLE_BUSINESS_CHAT_BUSINESS_USED_BY_OTHER_SITE_ERROR), message: || 'Business is already used by a channel on another site' ) end |