MCPcopy Create free account
hub / github.com/contentlayerdev/contentlayer / ConfigReadError

Class ConfigReadError

packages/@contentlayer/core/src/errors.ts:14–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14export class ConfigReadError extends Tagged('ConfigReadError')<{
15 readonly configPath: string
16 readonly error: unknown
17}> {
18 toString = () => `ConfigReadError (${this.configPath}): ${errorToString(this.error)}`
19}
20
21export class ConfigNoDefaultExportError extends Tagged('ConfigNoDefaultExportError')<{
22 readonly configPath: string

Callers

nothing calls this directly

Calls 1

errorToStringFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…