MCPcopy Create free account
hub / github.com/cloudflare/wildebeest / HttpSignatureError

Class HttpSignatureError

backend/src/utils/httpsigjs/utils.ts:11–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11export class HttpSignatureError extends Error {
12 constructor(message: string, caller: any) {
13 super(message)
14 if (Error.captureStackTrace) Error.captureStackTrace(this, caller || HttpSignatureError)
15
16 this.message = message
17 this.name = caller.name
18 }
19}
20
21export class InvalidAlgorithmError extends HttpSignatureError {
22 constructor(message: string) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected