Current section

Files

Jump to
elixirfm lib elixirfm errors missing_secret_key.ex
Raw

lib/elixirfm/errors/missing_secret_key.ex

defmodule Elixirfm.MissingSecretKeyError do
defexception message: """
The secret_key settings is required for some of the Lastfm endpoints. Please include your
Last.fm secret_key in your application config file like so:
config :elixirfm, secret_key: _YOUR_SECRET_KEY_
You can also set the api secret key as an environment variable:
LASTFM_SECRET_KEY= _YOUR_SECRET_KEY_
"""
end