Packages

Game server toolkit written in Elixir # Network

Current section

Files

Jump to
elvengard_network lib elven_gard network exceptions.ex
Raw

lib/elven_gard/network/exceptions.ex

defmodule ElvenGard.Network.UnknownViewError do
@moduledoc ~S"""
Exception raised when a View is not found
"""
defexception [:parent, :type]
@impl true
def message(%{parent: parent, type: type}) do
"unable to find the `render/2` function with the '#{inspect(type)}' key " <>
"(in #{inspect(parent)})"
end
end