CookieError Type

There was an error reading or decrypting the cookie.

Union cases

Union case Description

DecryptionError error

Full Usage: DecryptionError error

Parameters:

The cookie existed but Suave was unable to decrypt its contents. Have you the same key across servers and over time and deployments? Unless you've specified the server key in your configuration, you won't.

error : SecretboxDecryptionError

NoCookieFound cookieName

Full Usage: NoCookieFound cookieName

Parameters:
    cookieName : string

No cookie was found by the given cookie name.

cookieName : string

Instance members

Instance member Description

this.IsDecryptionError

Full Usage: this.IsDecryptionError

Returns: bool
Returns: bool

this.IsNoCookieFound

Full Usage: this.IsNoCookieFound

Returns: bool
Returns: bool