Module pavex::cookie::errors

source ·
Expand description

Errors that can occur when working with cookies.

Structs§

  • An error that occurred while decrypting or verifying an incoming request cookie.
  • An error that occurred while decoding a percent-encoded cookie name or value.
  • An error that occurs when parsing a fragment of a Cookie header value that contains an empty name (e.g. =value).
  • The error type returned by inject_response_cookies.
  • An error that occurs when parsing a fragment of a Cookie header value that doesn’t contain a name-value separator (=).
  • The key generation algorithm requires more bytes than what was provided.

Enums§