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 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
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.