Skip to content

unauthorized

Throws a RoutingError(401), caught by the nearest +error.tsx+error.jsx. Signals that the user must authenticate to access the resource.

function unauthorized(): never