MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / constructor

Method constructor

apps/web/server/exceptions.ts:19–21  ·  view source on GitHub ↗
(reason?: string)

Source from the content-addressed store, hash-verified

17
18export class Forbidden extends HttpException {
19 constructor(reason?: string) {
20 super(403, reason || 'Forbidden');
21 }
22}
23
24export class NotFound extends HttpException {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected