polysemy-account-0.2.0.0: Account management with Servant and Polysemy
Safe HaskellSafe-Inferred
LanguageHaskell2010

Polysemy.Account.Data.AccountsError

Description

 
Synopsis

Documentation

data AccountsClientError Source #

Errors that indicate invalid client-supplied information.

Constructors

NoAccountId

No account was found for the given ID.

InvalidAuth

Credentials did not match stored auth data.

NoAccountName

No account was found for the given name.

Conflict

Name given for registration already exists in storage.

data AccountsError Source #

Errors produced by the effect Accounts.

Constructors

Client AccountsClientError

Errors that indicate invalid client-supplied information.

Internal Text

Error indicating storage backend failure.