UNPKG

@userfrosting/sprinkle-core

Version:
11 lines (10 loc) 309 B
/** * Axios Error Handler * * This composable sets up an Axios interceptor to handle errors globally using * the Alerts store. It sends the error to the Alerts store, unless it's a 401 * error. * * @see https://axios-http.com/docs/interceptors */ export declare const useAxiosInterceptor: () => void;