View Source Xema.NoLoader (xema v0.16.0)

The default loader.

For the loader configuration see "Configure a loader".

Link to this section Summary

Functions

Returns for any data always the error tuple {:error, "No loader configured."}.

Link to this section Functions

@spec fetch(any :: any()) :: {:error, binary()}

Returns for any data always the error tuple {:error, "No loader configured."}.

examples

Examples

iex> Xema.NoLoader.fetch(nil)
{:error, "No loader configured."}