Skip to content

HttpApiError

16 exports Added in v1.0.0 Source

Empty Errors

BadRequest

Added in v1.0.0 Source

Signature

declare class BadRequest extends EmptyError<BadRequest, "BadRequest", this> {
  constructor(_: void);
}

Conflict

Added in v1.0.0 Source

Signature

declare class Conflict extends EmptyError<Conflict, "Conflict", this> {
  constructor(_: void);
}

Forbidden

Added in v1.0.0 Source

Signature

declare class Forbidden extends EmptyError<Forbidden, "Forbidden", this> {
  constructor(_: void);
}

Gone

Added in v1.0.0 Source

Signature

declare class Gone extends EmptyError<Gone, "Gone", this> {
  constructor(_: void);
}

Signature

declare class InternalServerError extends EmptyError<
  InternalServerError,
  "InternalServerError",
  this
> {
  constructor(_: void);
}

Signature

declare class MethodNotAllowed extends EmptyError<MethodNotAllowed, "MethodNotAllowed", this> {
  constructor(_: void);
}

Signature

declare class NotAcceptable extends EmptyError<NotAcceptable, "NotAcceptable", this> {
  constructor(_: void);
}

NotFound

Added in v1.0.0 Source

Signature

declare class NotFound extends EmptyError<NotFound, "NotFound", this> {
  constructor(_: void);
}

Signature

declare class NotImplemented extends EmptyError<NotImplemented, "NotImplemented", this> {
  constructor(_: void);
}

Signature

declare class RequestTimeout extends EmptyError<RequestTimeout, "RequestTimeout", this> {
  constructor(_: void);
}

Signature

declare class ServiceUnavailable extends EmptyError<
  ServiceUnavailable,
  "ServiceUnavailable",
  this
> {
  constructor(_: void);
}

Unauthorized

Added in v1.0.0 Source

Signature

declare class Unauthorized extends EmptyError<Unauthorized, "Unauthorized", this> {
  constructor(_: void);
}

Errors

Signature

declare class HttpApiDecodeError extends any {
  constructor();
  static fromParseError(error: ParseError): Effect<HttpApiDecodeError>;
  static refailParseError(error: ParseError): Effect<never, HttpApiDecodeError>;
}

Schemas

Issue

Added in v1.0.0 Source

Signature

declare class Issue extends any {
  constructor();
}

Type Ids

TypeId

Added in v1.0.0 Source

Signature

declare const TypeId: unique symbol;

TypeId type

Added in v1.0.0 Source

Signature

type TypeId = typeof TypeId;