Class: Glia::Errors::AppleBusinessChatBusinessUsedByOtherSiteError

Inherits:
Error
  • Object
show all
Defined in:
lib/glia/errors/client_errors.rb

Instance Attribute Summary

Attributes inherited from Error

#error_details, #message, #ref, #type

Instance Method Summary collapse

Methods inherited from Error

#to_h

Constructor Details

#initialize(message: nil) ⇒ AppleBusinessChatBusinessUsedByOtherSiteError

Returns a new instance of AppleBusinessChatBusinessUsedByOtherSiteError.



408
409
410
411
412
413
414
# File 'lib/glia/errors/client_errors.rb', line 408

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: message || 'Business is already used by a channel on another site'
  )
end