test404
Call an endpoint that always answers with a 404 error.
Description
Calls a test endpoint that always responds with a 404 error. With the default isShell: true, it resolves to an IError with statusCode: 404; with errors: { isShell: false } in the defineOneEntry config, it throws that error. See Errors.
.test404();
Examples
Minimal example
const response = await System.test404();