PhoenixGenApi.Errors.InvalidType exception (PhoenixGenApi v2.15.0)

Copy Markdown View Source

Error raised when an argument has an invalid type.

Summary

Functions

Creates an InvalidType error for the given argument name.

Functions

exception(msg)

@spec exception(String.t() | atom()) :: %PhoenixGenApi.Errors.InvalidType{
  __exception__: true,
  message: term()
}

Creates an InvalidType error for the given argument name.