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.
403 404 405 406 407 408 409 |
# File 'lib/glia/errors/client_errors.rb', line 403 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 |