Skip to content

Commit

Permalink
lib/earmark/error.ex: added Earmark.Error.t
Browse files Browse the repository at this point in the history
  • Loading branch information
bradhanks committed Feb 5, 2024
1 parent a42d051 commit f0c4f60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/earmark/error.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ defmodule Earmark.Error do

defexception [:message]

@type t :: %__MODULE__{message: binary()}

@doc false
def exception(msg), do: %__MODULE__{message: msg}

Expand Down

0 comments on commit f0c4f60

Please sign in to comment.