Skip to content

InsufficientScope

Defined in: Authorization.ts:67

  • { _tag: "InsufficientScope"; cause: unknown; challenge: string; scopes: readonly string[]; } & YieldableError<this> & { brand: typeof brand; }
new InsufficientScope(...args: [props: {
_tag?: "InsufficientScope";
cause: unknown;
challenge: string;
scopes: readonly string[];
}, options?: MakeOptions]): InsufficientScope;

Defined in: ../../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Schema.d.ts:11613

Parameter Type
…args [props: { _tag?: "InsufficientScope"; cause: unknown; challenge: string; scopes: readonly string[]; }, options?: MakeOptions]

InsufficientScope

Property Modifier Type Default value Defined in
_tag readonly "InsufficientScope" undefined ../../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Schema.d.ts:5110
brand readonly typeof brand undefined Authorization.ts:69
cause public unknown ... Authorization.ts:73
challenge readonly string Schema.String Authorization.ts:71
scopes readonly readonly string[] ... Authorization.ts:72
"~effect/http/HttpServerRespondable"(): Effect<HttpServerResponse, never, never>;

Defined in: Authorization.ts:75

Effect<HttpServerResponse, never, never>