Ankh.HTTP2.Error (ankh v0.14.4)

HTTP/2 Error encoding and decoding

Link to this section Summary

Types

HTTP/2 Error Code

t()

HTTP/2 Error

Functions

Returns a human readable string for the corresponding error code atom

Link to this section Types

Specs

code() :: non_neg_integer()

HTTP/2 Error Code

Specs

t() ::
  :no_error
  | :protocol_error
  | :internal_error
  | :flow_control_error
  | :settings_timeout
  | :stream_closed
  | :frame_size_error
  | :refused_stream
  | :cancel
  | :compression_error
  | :connect_error
  | :enache_your_calm
  | :inadequate_security
  | :http_1_1_required

HTTP/2 Error

Link to this section Functions

Specs

decode(code()) :: t()

Specs

encode(t()) :: binary()

Specs

format(t()) :: String.t()

Returns a human readable string for the corresponding error code atom