Skip to content

Not Found - 404 (NotFoundError) #2

@cute-master

Description

@cute-master

I like your acorn very much, can you help me how to catch this error and respond to custom data? thanks.

Not Found - 404
http://localhost:10000/
Stack trace:

NotFoundError: http://localhost:10000/
at createHttpError (https://deno.land/std@0.190.0/http/http_errors.ts:199:10)
at Router.#notFound (https://deno.land/x/acorn@0.3.0/router.ts:974:9)
at Router.#handle (https://deno.land/x/acorn@0.3.0/router.ts:956:32)
at eventLoopTick (ext:core/01_core.js:183:11)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions