MeshxRpc.Client.Pool.call-exclamation-mark

You're seeing just the function call-exclamation-mark, go back to MeshxRpc.Client.Pool module for more information.
Link to this function

call!(pool, request, args, timeout \\ :infinity, retry \\ 5, retry_sleep \\ 100)

View Source

Specs

call!(
  pool :: atom(),
  request :: atom(),
  args :: list(),
  timeout :: timeout(),
  retry :: pos_integer(),
  retry_sleep :: non_neg_integer()
) :: term() | {:error_rpc, reason :: term()}

Same as call/6, will reraise remote exception locally.

Example:

iex(1)> MeshxRpc.Client.Pool.call(Example1.Client, :raise_test, "raise kaboom!")
{:error_rpc, %RuntimeError{message: "raise kaboom!"}}
iex(2)> MeshxRpc.Client.Pool.call!(Example1.Client, :raise_test, "raise kaboom!")
** (RuntimeError) raise kaboom!