Skip to content

Commit

Permalink
Update lib/ssz_ex/error.ex
Browse files Browse the repository at this point in the history
Co-authored-by: Tomás Grüner <47506558+MegaRedHand@users.noreply.github.com>
  • Loading branch information
avilagaston9 and MegaRedHand authored Apr 22, 2024
1 parent 9eaeaa9 commit 990030c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ssz_ex/error.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule SszEx.Error do
"""
alias SszEx.Error
defstruct [:message]
@type t :: %__MODULE__{message: binary()}
@type t :: %__MODULE__{message: String.t()}

def format(%Error{message: message}) do
"#{message}"
Expand Down

0 comments on commit 990030c

Please sign in to comment.