Ecto v2.2.6 Ecto.NoPrimaryKeyFieldError exception View Source

Raised at runtime when an operation that requires a primary key is invoked with a schema that does not define a primary key by using @primary_key false

Link to this section Summary

Functions

Callback implementation for Exception.exception/1

Callback implementation for Exception.message/1

Link to this section Functions

Link to this function exception(msg) View Source
exception(String.t) :: Exception.t
exception(keyword) :: Exception.t

Callback implementation for Exception.exception/1.

Callback implementation for Exception.message/1.