View Source Xema.NoLoader (xema v0.17.4)

The default loader.

For the loader configuration see "Configure a loader".

Summary

Functions

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

Functions

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

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

Examples

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