core_utils v0.2.0 CoreUtils.Types View Source

Link to this section Summary

Link to this section Types

Link to this type amqp_return_type(t) View Source
amqp_return_type(t) :: {:ok, t} | {:error, integer()}
Link to this type ecto_save() View Source
ecto_save() :: {:ok, Ecto.Schema.t()} | {:error, Ecto.Changeset.t()}
Link to this type ecto_transaction() View Source
ecto_transaction() ::
  {:ok, any()}
  | {:error, any()}
  | {:error, atom(), any(), %{optional(atom()) => any()}}
Link to this type result(t, e) View Source
result(t, e) :: {:ok, t} | {:error, e}