Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBoardNotExist = errors.New("deck: Operation failed. Requested board does not exist")
View Source
var ErrCardAlreadyExist = errors.New("card: Operation failed. Card already exists")
View Source
var ErrCardDeleteFailed = errors.New("card: Operation failed. Failed to remove card")
View Source
var ErrCardMissingId = errors.New("card: Card is missing a name and/or a mtgjsonV4Id")
View Source
var ErrCardUpdateFailed = errors.New("card: Operation failed. Failed to update card with new metadata")
View Source
var ErrDeckAlreadyExists = errors.New("deck: Operation Failed. Deck already exists")
View Source
var ErrDeckDeleteFailed = errors.New("deck: Operation failed. Issue while deleting deck")
View Source
var ErrDeckMissingContentIds = errors.New("deck: The contentId's field of the deck object is nil")
View Source
var ErrDeckMissingId = errors.New("deck: Operation Failed.. Deck is missing a name and/or a deck code")
View Source
var ErrDeckUpdateFailed = errors.New("deck: Operation failed. Failed to update deck")
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: Operation failed. 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: Operation failed. Invalid v5 uuid")
View Source
var ErrMissingMetaApi = errors.New("meta: Object is missing the mtgjsonMetaApi field. This is usually due to creating the object manually")
Meta Errors - Holds all errors that could arise relating the mtgjsonApiMeta object
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 decks 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 ErrNoSets = errors.New("set: No sets found on index operation")
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 ErrSetAlreadyExists = errors.New("set: Operation failed. A set already exists under this set code")
View Source
var ErrSetDeleteFailed = errors.New("set: Operation failed. Failed to remove cards from set")
View Source
var ErrSetMissingContentIds = errors.New("set: The contentId's field of the set object is nil")
View Source
var ErrSetMissingId = errors.New("set: Operation failed. Set is missing either a name or a set code")
View Source
var ErrSetUpdateFailed = errors.New("set: Operation failed. Failed to update set with new card(s)")
View Source
var ErrTokenInvalid = errors.New("user: Access Token is not valid")
View Source
var ErrUserAlreadyExist = errors.New("user: Operation failed. 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: Operation failed. 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.
Click to show internal directories.
Click to hide internal directories.