UNPKG

@userfrosting/sprinkle-account

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. If a 401 error occurs, it will unset the user in the Auth * store. * * @see https://axios-http.com/docs/interceptors */ export declare const useAxiosInterceptor: () => void;