chore: use the new alias introduced

This commit is contained in:
Zach Daniel 2024-08-09 09:58:47 -04:00
parent 2909e22e4c
commit df1e7c7b03

View file

@ -57,7 +57,7 @@ defmodule Example.Accounts.User do
if query.action.name == :sign_in_with_password && query.context[:should_fail] do
Ash.Query.add_error(
query,
Ash.Error.Query.InvalidArgument.exception(
InvalidArgument.exception(
field: :email,
message: "I cant let you do that dave."
)