A modular jQuery utility for displaying error alerts from AJAX requests. It provides user-friendly messages for common AJAX errors, improving debugging and user experience.
- Clone the repository:
git clone git@github.com:hkevin01/JQuery-Error-Alert.git
- Install dependencies:
npm install
Include src/erroralert.js in your project and call errorAlert(jqXHR, exception, errorThrown) inside your AJAX error handler.
See CONTRIBUTING.md for details on how to contribute.
MIT