I'm using Qwik, and I want to return 404 when from my onGet
method.
Unfortunately the docs does not include an example regarding this. And I can't find anything through Google search.
Basically I want to do this:
const onGet = async({ params, url }) => {
// searching the DB or API for the item
// return the item if it exist,
// but return 404 it it does not
// and I don't know how to return 404
}