Unauthorized
Defined in: Authorization.ts:51
Extends
Section titled “Extends”- {
_tag:"Unauthorized";cause?:unknown;challenge:string; } &YieldableError<this> & {brand: typeofbrand; }
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”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
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: { _tag?: "Unauthorized"; cause?: unknown; challenge: string; }, options?: MakeOptions] |
Returns
Section titled “Returns”Unauthorized
Properties
Section titled “Properties”| 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 |
Methods
Section titled “Methods”~effect/http/HttpServerRespondable()
Section titled “~effect/http/HttpServerRespondable()”"~effect/http/HttpServerRespondable"(): Effect<HttpServerResponse, never, never>;Defined in: Authorization.ts:58
Returns
Section titled “Returns”Effect<HttpServerResponse, never, never>