lib/ash/error/changes/no_such_attribute.ex
defmodule Ash.Error.Changes.NoSuchAttribute do
@moduledoc "Used when a change is provided for an attribute that does not exist"
use Splode.Error, fields: [:resource, :attribute], class: :invalid
def message(error) do
"No such attribute #{error.attribute} for resource #{inspect(error.resource)}"
end
end