Plug.Conn.InvalidHeaderError
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
- exception(msg)
-
Callback implementation for
Exception.exception/1
- message(exception)
-
Callback implementation for
Exception.message/1
Functions
exception(msg)
exception(Keyword.t) :: Exception.t
exception(String.t) :: Exception.t
Callback implementation for Exception.exception/1
.
message(exception)
message(Exception.t) :: String.t
Callback implementation for Exception.message/1
.
© 2013 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/plug/Plug.Conn.InvalidHeaderError.html