Ankh.HTTP.Error (ankh v0.17.0)

HTTP Error

Link to this section Summary

Types

HTTP/2 Error

Functions

Returns a human readable string for the corresponding error code atom

Link to this section Types

@type reason() ::
  :no_error
  | :protocol_error
  | :internal_error
  | :flow_control_error
  | :settings_timeout
  | :stream_closed
  | :frame_size_error
  | :refused_stream
  | :cancel
  | :compression_error
  | :connect_error
  | :enanche_your_calm
  | :inadequate_security
  | :http_1_1_required

HTTP/2 Error

Link to this section Functions

@spec format(reason()) :: String.t()

Returns a human readable string for the corresponding error code atom