MCPcopy Create free account
hub / github.com/cacjs/cac / constructor

Method constructor

src/utils.ts:167–173  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

165
166export class CACError extends Error {
167 constructor(message: string) {
168 super(message)
169 this.name = 'CACError'
170 if (typeof Error.captureStackTrace !== 'function') {
171 this.stack = new Error(message).stack
172 }
173 }
174}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected