JSV.Vocabulary.Cast.BadCastReturnValueError exception (jsv v0.21.2)

Copy Markdown View Source

Error used when a cast function returns an invalid value. Cast functions must return a result tuple, either {:ok, value} or {:error, reason}.

Summary

Functions

Callback implementation for Exception.message/1.

Functions

message(t)

@spec message(Exception.t()) :: binary()

Callback implementation for Exception.message/1.