Casconf.Loader.load

You're seeing just the function load, go back to Casconf.Loader module for more information.

Specs

load(Casconf.Config.t()) :: {:ok, value :: term()} | {:error, reason :: term()}

Loads and casts a specific configuration item

It will raise the following errors:

  • Casconf.CastError (in case the supplied value couldn't be converted to the given data type)
  • Casconf.NoValueError (in case none of the loaders have found a value)