lib/intercom/request.rb in intercom-4.1.3 vs lib/intercom/request.rb in intercom-4.2.0

- old
+ new

@@ -220,9 +220,11 @@ raise Intercom::ResourceNotUniqueError.new(error_details['message'], error_context) when 'intercom_version_invalid' raise Intercom::ApiVersionInvalid.new(error_details['message'], error_context) when 'scroll_exists' raise Intercom::ScrollAlreadyExistsError.new(error_details['message'], error_context) + when 'tag_has_dependent_objects' + raise Intercom::TagHasDependentObjects.new(error_details['message'], error_context) when nil, '' raise Intercom::UnexpectedError.new(message_for_unexpected_error_without_type(error_details, parsed_http_code), error_context) else raise Intercom::UnexpectedError.new(message_for_unexpected_error_with_type(error_details, parsed_http_code), error_context) end