mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
This commit adds a helper function named `handle_linkifier_api_error` to `static/js/settings_linkifiers.js`. As the name suggests, this function handles the error returned from the API, specifically for operations on linkifiers (like adding linkifier). This is a prep commit for `Add setting to edit linkifiers`. Related issue: #10830. The main motive to add this helper function is to avoid copying substantial blocks of code, as it tends to result in someone later fixing bugs in only one of the two places.