@happy-ts/fetch-t
    Preparing search index...

    Variable ABORT_ERRORConst

    ABORT_ERROR: "AbortError" = ...

    Error name for aborted fetch requests.

    This matches the standard AbortError name used by the Fetch API when a request is cancelled via AbortController.abort().

    import { fetchT, ABORT_ERROR } from '@happy-ts/fetch-t';

    const task = fetchT('https://api.example.com/data', { abortable: true });
    task.abort();

    const result = await task.result;
    result.inspectErr((err) => {
    if (err.name === ABORT_ERROR) {
    console.log('Request was aborted');
    }
    });