GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Elixir

This view

  • Original page
  • New address

GeezerVison is showing elixir.hexdocs.pm — UndefinedFunctionError — Elixir v1.20.5

UndefinedFunctionError exception (Elixir v1.20.5)

Copy Markdown View Source

An exception raised when a function is invoked that is not defined.

For example:

# Let's use apply/3 as otherwise Elixir emits a compile-time warning
iex> apply(String, :non_existing_fun, ["hello"])
** (UndefinedFunctionError) function String.non_existing_fun/1 is undefined or private

The following fields of this exception are public and can be accessed freely:

  • :module (module/0) - the module name
  • :function (atom/0) - the function name
  • :arity (non_neg_integer/0) - the arity of the function
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.