mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
chore: accept value and ignore it in Ash.Error.Unknown.UnknownError
This commit is contained in:
parent
60a97de9b7
commit
cdb3ddc5e4
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ defmodule Ash.Error.Unknown.UnknownError do
|
|||
@moduledoc "Used when an unknown error occurs"
|
||||
use Ash.Error.Exception
|
||||
|
||||
use Splode.Error, fields: [:error, :field], class: :unknown
|
||||
use Splode.Error, fields: [:error, :field, :value], class: :unknown
|
||||
|
||||
def message(%{error: error}) do
|
||||
if is_binary(error) do
|
||||
|
|
Loading…
Reference in a new issue