Ecto v1.1.0 Ecto.NoPrimaryKeyFieldError exception

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

Summary

Functions

Callback implementation for c:Exception.exception/1

Callback implementation for c:Exception.message/1

Functions

exception(msg)

Specs

exception(Keyword.t) :: Exception.t
exception(String.t) :: Exception.t

Callback implementation for c:Exception.exception/1.

message(exception)

Specs

message(Exception.t) :: String.t

Callback implementation for c:Exception.message/1.