ankh v0.0.5 Ankh.Frame.Error

HTTP/2 Error structure

Summary

Types

t()
  • code: error code atom

Functions

Returns a human readable string for the passed error code atom

Types

t()
t :: %Ankh.Frame.Error{code: :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 | atom}
  • code: error code atom

Functions

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

Returns a human readable string for the passed error code atom