Blink.MissingClauseError exception (blink v0.8.0)

Copy Markdown View Source

Raised when a table or context is declared but no callback clause matches it.

Every with_table/2 call needs a table/2 clause for that table name, and every with_context/2 call needs a context/2 clause for that key. The message names the missing key and shows the clause to add.

Summary

Types

t()

@type t() :: %Blink.MissingClauseError{
  __exception__: true,
  callback: :table | :context,
  key: Blink.Seeder.key(),
  module: module()
}