If this function returns a changeset it will be inserted and errors rendered if required. It may also return a model or validation errors for rendering or a %Plug.Conn{} for total rendering control.
Can someone give an example of returning validation errors?
In the README, for
handle_update/3
it says:Can someone give an example of returning validation errors?