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

Method constructor

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected