lib/intercom/request.rb in intercom-3.7.1 vs lib/intercom/request.rb in intercom-3.7.2

- old
+ new

@@ -168,9 +168,11 @@ raise Intercom::BlockedUserError.new(error_details['message'], error_context) when "not_found" raise Intercom::ResourceNotFound.new(error_details['message'], error_context) when "rate_limit_exceeded" raise Intercom::RateLimitExceeded.new(error_details['message'], error_context) + when "custom_data_limit_reached" + raise Intercom::CDALimitReachedError.new(error_details['message'], error_context) when 'service_unavailable' raise Intercom::ServiceUnavailableError.new(error_details['message'], error_context) when 'conflict', 'unique_user_constraint' raise Intercom::MultipleMatchingUsersError.new(error_details['message'], error_context) when 'resource_conflict'