HttpApiError
Empty Errors
BadRequest
Added in v1.0.0
Source
Signature
declare class BadRequest extends EmptyError<BadRequest, "BadRequest", this> { constructor(_: void);}Signature
declare class Conflict extends EmptyError<Conflict, "Conflict", this> { constructor(_: void);}Signature
declare class Forbidden extends EmptyError<Forbidden, "Forbidden", this> { constructor(_: void);}Signature
declare class Gone extends EmptyError<Gone, "Gone", this> { constructor(_: void);}InternalServerError
Added in v1.0.0
Source
Signature
declare class InternalServerError extends EmptyError<InternalServerError, "InternalServerError", this> { constructor(_: void);}MethodNotAllowed
Added in v1.0.0
Source
Signature
declare class MethodNotAllowed extends EmptyError<MethodNotAllowed, "MethodNotAllowed", this> { constructor(_: void);}NotAcceptable
Added in v1.0.0
Source
Signature
declare class NotAcceptable extends EmptyError<NotAcceptable, "NotAcceptable", this> { constructor(_: void);}Signature
declare class NotFound extends EmptyError<NotFound, "NotFound", this> { constructor(_: void);}NotImplemented
Added in v1.0.0
Source
Signature
declare class NotImplemented extends EmptyError<NotImplemented, "NotImplemented", this> { constructor(_: void);}RequestTimeout
Added in v1.0.0
Source
Signature
declare class RequestTimeout extends EmptyError<RequestTimeout, "RequestTimeout", this> { constructor(_: void);}Errors
HttpApiDecodeError
Added in v1.0.0
Source
Signature
declare class HttpApiDecodeError extends { readonly _tag: "HttpApiDecodeError"; readonly issues: readonly Array<unknown>; readonly message: string;} & YieldableError<this> { constructor(...args: [props: { readonly _tag?: "HttpApiDecodeError"; readonly issues: readonly Array<unknown>; readonly message: string; }, options?: MakeOptions]); static fromParseError(error: ParseError): Effect<HttpApiDecodeError>; static refailParseError(error: ParseError): Effect<never, HttpApiDecodeError>;}