MCPcopy Create free account
hub / github.com/effect-app/libs / constructor

Method constructor

packages/infra/src/internal/auth.ts:41–44  ·  view source on GitHub ↗
(message = "Invalid Token")

Source from the content-addressed store, hash-verified

39 readonly code = "invalid_token"
40
41 constructor(message = "Invalid Token") {
42 super(message)
43 this.headers = getHeaders(this.code, this.message)
44 }
45}
46
47export class InsufficientScopeError extends UnauthorizedError {

Callers

nothing calls this directly

Calls 1

getHeadersFunction · 0.85

Tested by

no test coverage detected