MCPcopy Create free account
hub / github.com/Effect-TS/effect / constructor

Method constructor

packages/effect/src/Config.ts:76–78  ·  view source on GitHub ↗
(cause: SourceError | Schema.SchemaError)

Source from the content-addressed store, hash-verified

74 readonly name: string = "ConfigError"
75 readonly cause: SourceError | Schema.SchemaError
76 constructor(cause: SourceError | Schema.SchemaError) {
77 this.cause = cause
78 }
79 get message() {
80 return this.cause.toString()
81 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected