eosrpc v0.4.0 EOSRPC.Middleware.Error View Source

Makes requests that don’t respond to HTTP Success codes to return as a error

Example usage

defmodule MyClient do
  use Tesla

  plug(EOSRPC.ErrorMiddleware)
end

Link to this section Summary

Link to this section Functions

Link to this function call(env, next, options) View Source

Callback implementation for Tesla.Middleware.call/3.