class Rotor::InvalidChangeset < Rotor::Error
Rotor::Changeset#apply!, Rotor::Repo#insert! or Rotor::Repo#update! of a
changeset with errors: its errors, and the changeset itself as a
Shareable (its model's type is not known where it is rescued: for
the typed changeset, use insert and its Rotor::Outcome). The
message lists the errors.
/home/runner/work/rotor/rotor/src/errors.qz:77
Class methods
def self.new(changeset: Shareable, errors: Array[Rotor::FieldError], summary: String) -> Rotor::InvalidChangeset
The error of changeset, with its errors, summary listing them.
Methods
def changeset -> Shareable
The changeset.
def errors -> Array[Rotor::FieldError]
Its errors.