Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 618 Bytes

File metadata and controls

25 lines (18 loc) · 618 Bytes

Error-Alert

Overview

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.

Installation

  1. Clone the repository:
    git clone git@github.com:hkevin01/JQuery-Error-Alert.git
  2. Install dependencies:
    npm install

Usage

Include src/erroralert.js in your project and call errorAlert(jqXHR, exception, errorThrown) inside your AJAX error handler.

Contribution Guidelines

See CONTRIBUTING.md for details on how to contribute.

License

MIT