This package has been deprecated

    Author message:

    HttpError has been migrated to @cfworker/web

    @cfworker/http-errors
    TypeScript icon, indicating that this package has built-in type declarations

    1.1.1 • Public • Published

    @cfworker/http-errors

    A collection HTTP error classes for use with @cfworker/web.

    import { BadRequestError } from '@cfworker/http-errors';
     
    // ... while handling a request...
     
    throw new BadRequestError('foo is required.');

    Install

    npm i @cfworker/http-errors

    DownloadsWeekly Downloads

    5

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    28.3 kB

    Total Files

    124

    Last publish

    Collaborators

    • jdanyow