Skip to main content Link Search Menu Expand Document (external link)

HttpApiError overview

Added in v1.0.0


Table of contents


errors

HttpApiDecodeError (class)

Signature

export declare class HttpApiDecodeError

Added in v1.0.0

fromParseError (static method)

Signature

static fromParseError(error: ParseResult.ParseError): Effect.Effect<HttpApiDecodeError>

Added in v1.0.0

refailParseError (static method)

Signature

static refailParseError(error: ParseResult.ParseError): Effect.Effect<never, HttpApiDecodeError>

Added in v1.0.0

schemas

Issue

Signature

export declare const Issue: Issue

Added in v1.0.0

Issue (interface)

Signature

export interface Issue
  extends Schema.Struct<{
    _tag: Schema.Literal<
      ["Pointer", "Unexpected", "Missing", "Composite", "Refinement", "Transformation", "Type", "Forbidden"]
    >
    path: PropertyKeysNoSymbol
    message: typeof Schema.String
  }> {}

Added in v1.0.0

PropertyKeysNoSymbol

Signature

export declare const PropertyKeysNoSymbol: PropertyKeysNoSymbol

Added in v1.0.0

PropertyKeysNoSymbol (interface)

Signature

export interface PropertyKeysNoSymbol
  extends Schema.transform<
    Schema.Array$<Schema.Union<[typeof Schema.String, typeof Schema.Number]>>,
    Schema.Array$<Schema.Union<[typeof Schema.SymbolFromSelf, typeof Schema.String, typeof Schema.Number]>>
  > {}

Added in v1.0.0

type ids

TypeId

Signature

export declare const TypeId: typeof TypeId

Added in v1.0.0

TypeId (type alias)

Signature

export type TypeId = typeof TypeId

Added in v1.0.0