Handkit.Connect.handle_result

You're seeing just the function handle_result, go back to Handkit.Connect module for more information.
Link to this function

handle_result(result, key \\ nil)

View Source

Specs

handle_result(Tesla.Env.result(), String.t() | nil) ::
  {:ok, any()} | {:error, any()}

Handles the result from a Connect request.

If the result is a success, the request body is returned. Where the request returns an error, a %ConnectError{} exception is returned.