errors

package
v1.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2024 License: Unlicense Imports: 1 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBoardNotExist = errors.New("deck: Failed to add card to deck. Requested board does not exist")
View Source
var ErrCardAlreadyExist = errors.New("card: Could not complete operation. Card already exists")
View Source
var ErrCardDeleteFailed = errors.New("card: Failed to delete deck. Unknown server issue")
View Source
var ErrCardMissingId = errors.New("card: Card is missing a name and/or a mtgjsonV4Id")
View Source
var ErrCardUpdateFailed = errors.New("card: Failed to update card with new metadata")
View Source
var ErrDeckAlreadyExists = errors.New("deck: Failed to create deck. Deck already exists")
View Source
var ErrDeckDeleteFailed = errors.New("deck: Failed to delete deck. Unknown server issue")
View Source
var ErrDeckMissingId = errors.New("deck: Failed to create deck. Deck is missing a name and/or a deck code")
View Source
var ErrDeckUpdateFailed = errors.New("deck: Failed to update deck with new card")
View Source
var ErrFailedToGenerateKey = errors.New("userCredentials: Failed to generate AES key for user credentials")
View Source
var ErrFailedToLoginUser = errors.New("user: Failed to login user with Auth0")
View Source
var ErrFailedToRegisterUser = errors.New("user: Failed to register user with Auth0")
View Source
var ErrInvalidEmail = errors.New("user: Failed to create user. Email is invalid")
View Source
var ErrInvalidPasswordLength = errors.New("user: Failed to create user. Password must be at least 12 characters long")
View Source
var ErrInvalidUUID = errors.New("card: invalid v5 uuid")
View Source
var ErrNoCard = errors.New("card: failed to find card with specified uuid")

Card Errors - Holds all errors that could arise from fetching or inserting cards

View Source
var ErrNoCards = errors.New("card: No card found on index operation")
View Source
var ErrNoCred = errors.New("userCredentials: Failed to find user credentials with the specified credentialId")

Credential Errors - Holds all errors that could arise from fetching or creating new user credentials

View Source
var ErrNoDeck = errors.New("deck: failed to find deck with the specified code")

Deck Errors - Holds all errors that could arise from fetching or inserting decks

View Source
var ErrNoDecks = errors.New("deck: No deck found on index operation")
View Source
var ErrNoSet = errors.New("set: failed to find set with the specified code")

Set Errors - Holds all errors that could arise from fetching or creating sets

View Source
var ErrNoUser = errors.New("user: Failed to find user with the specified username")

User Errors - Holds all errors that could arise from fetching or creating new users

View Source
var ErrTokenInvalid = errors.New("user: Access Token is not valid")
View Source
var ErrUserAlreadyExist = errors.New("user: Failed to create user. A user already exists with this username")
View Source
var ErrUserDeleteFailed = errors.New("user: Failed to delete user")
View Source
var ErrUserMissingId = errors.New("user: Failed to create user. User model is missing Id")
View Source
var ErrUserUpdateFailed = errors.New("user: Failed to update user")

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL