跳转到内容

Unauthorized

此内容尚不支持你的语言。

Defined in: Authorization.ts:51

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

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

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

Unauthorized

Property Modifier Type Default value Defined in
_tag readonly "Unauthorized" undefined ../../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Schema.d.ts:5110
brand readonly typeof brand undefined Authorization.ts:53
cause? public unknown ... Authorization.ts:56
challenge readonly string Schema.String Authorization.ts:55
"~effect/http/HttpServerRespondable"(): Effect<HttpServerResponse, never, never>;

Defined in: Authorization.ts:58

Effect<HttpServerResponse, never, never>