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

Method constructor

packages/platform/browser/src/Permissions.ts:88–93  ·  view source on GitHub ↗
(props: { readonly reason: PermissionsErrorReason })

Source from the content-addressed store, hash-verified

86 readonly reason: PermissionsErrorReason
87}> {
88 constructor(props: { readonly reason: PermissionsErrorReason }) {
89 super({
90 ...props,
91 cause: props.reason.cause
92 } as any)
93 }
94
95 readonly [ErrorTypeId] = ErrorTypeId
96

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected