/* * This file is part of sdbapi * Copyright (C) 2022 Jonni Liljamo * * Licensed under GPL-3.0-only. * See LICENSE for licensing information. */ package apierror const ( Placeholder string = "placeholder" InvalidInput string = "invalid input" UserNotFound string = "user not found" InvalidCred string = "invalid credentials" NewJWTError string = "jwt creation error" UsernameTooShort string = "username should not be shorter than 3 characters" EmailInvalid string = "invalid email address" PasswordTooShort string = "password should not be shorter than 8 characters" PasswordHashFailed string = "password hash failed" UserCreationFailed string = "user creation failed" NotAuthorized string = "not authorized" GameNotFound string = "game not found" GameCreationFailed string = "game creation failed" GetAllFormingFailed string = "something went wrong while fetching all forming games" )