Plug v1.2.2 Plug.Conn.InvalidHeaderError exception

Error raised when trying to send a header that has errors, for example:

  • the header key contains uppercase chars
  • the header value contains newlines \n

Summary

Functions

Callback implementation for Exception.exception/1

Callback implementation for Exception.message/1

Functions

exception(msg)
exception(String.t) :: Exception.t
exception(Keyword.t) :: Exception.t

Callback implementation for Exception.exception/1.

message(exception)
message(Exception.t) :: String.t

Callback implementation for Exception.message/1.