MCPcopy Create free account
hub / github.com/Noumena-Network/code / constructor

Method constructor

src/auth/runtime/errors.ts:17–30  ·  view source on GitHub ↗
(params: {
    code: AuthFailureCode
    message: string
    userMessage: string
    recoveryAction: RecoveryAction
    retryable?: boolean
  })

Source from the content-addressed store, hash-verified

15 readonly retryable: boolean
16
17 constructor(params: {
18 code: AuthFailureCode
19 message: string
20 userMessage: string
21 recoveryAction: RecoveryAction
22 retryable?: boolean
23 }) {
24 super(params.message)
25 this.name = 'AuthRuntimeError'
26 this.code = params.code
27 this.recoveryAction = params.recoveryAction
28 this.userMessage = params.userMessage
29 this.retryable = params.retryable ?? false
30 }
31}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected