httpError
Throws a RoutingError(status) with any HTTP status code. Use this for status codes not covered by the named helpers.
function httpError(status: number): neverimport { httpError } from '$houdini'
if (!data.resource) httpError(422)Throws a RoutingError(status) with any HTTP status code. Use this for status codes not covered by the named helpers.
function httpError(status: number): neverimport { httpError } from '$houdini'
if (!data.resource) httpError(422)