diff --git a/lib/twirp/error.ex b/lib/twirp/error.ex index 97f3fc4..d237f54 100644 --- a/lib/twirp/error.ex +++ b/lib/twirp/error.ex @@ -38,7 +38,7 @@ defmodule Twirp.Error do @type t :: %__MODULE__{ code: atom(), msg: binary(), - meta: %{atom() => binary()} + meta: %{optional(binary()) => binary()} | nil } for code <- @error_codes do