function fetchSlotDetailsListError(error) {
    toast.error("Error occured while fetching slot details list", { autoClose: 4000 });
    console.log("Fetch slot details list error called", error);
    return {
        type: FETCH_SLOT_DETAILS_LIST_ERROR,
        error,
    };
}
/**
 * Dispatched when get request fails
 * @param  {object} error The error
 *
 * @return {object} An action object with a type of FETCH_SLOT_DETAILS_LIST_ERROR passing the error
 */
Dispatched when get request fails
@param  {object} error The error

@return {object} An action object with a type of FETCH_SLOT_DETAILS_LIST_ERROR passing the error
Dispatched when get request fails @param { object } error The error @return { object } An action object with a type of FETCH_SLOT_DETAILS_LIST_ERROR passing the error
function fetchSlotDetailsListError(error) {
    toast.error("Error occured while fetching slot details list", { autoClose: 4000 });
    console.log("Fetch slot details list error called", error);
    return {
        type: FETCH_SLOT_DETAILS_LIST_ERROR,
        error,
    };
}
function fetchSlotDetailsListError ( error ) { toast . error ( "Error occured while fetching slot details list" , { autoClose : 4000 } ) ; console . log ( "Fetch slot details list error called" , error ) ; return { type : FETCH_SLOT_DETAILS_LIST_ERROR , error , } ; }
Dispatched when get request fails
 @param  {object} error The error
Dispatched when get request fails @param { object } error The error