edantic v0.1.0 Edantic View Source

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %Edantic{module: term(), path: term()}
Link to this type

t_iodata()

View Source
t_iodata() :: iolist() | binary()
Link to this type

t_number()

View Source
t_number() :: integer() | float()
Link to this type

t_timeout()

View Source
t_timeout() :: :infinity | non_neg_integer()

Link to this section Functions

Link to this function

cast(module, type, data)

View Source
cast(module(), atom(), Edantic.Json.t()) :: {:ok, term()} | {:error, term()}
Link to this function

cast_error(message, type, data, previous_error \\ nil)

View Source
Link to this function

cast_to_type(e, type, data)

View Source
Link to this function

cast_to_type_real(e, type, data)

View Source
Link to this function

find_typespec(module, type, arity)

View Source