cmd: upgrade group
This commit is contained in:
@@ -131,3 +131,39 @@ func NewShipsNotOnSamePlanetError(arg ...any) error {
|
||||
func NewGiveawayGroupShipsTypeNotEqualError(arg ...any) error {
|
||||
return newGenericError(ErrGiveawayGroupShipsTypeNotEqual, arg...)
|
||||
}
|
||||
|
||||
func NewTechUnknownError(arg ...any) error {
|
||||
return newGenericError(ErrInputTechUnknown, arg...)
|
||||
}
|
||||
|
||||
func NewTechInvalidMixingError(arg ...any) error {
|
||||
return newGenericError(ErrInputTechInvalidMixing, arg...)
|
||||
}
|
||||
|
||||
func NewUpgradeShipTechNotUsedError(arg ...any) error {
|
||||
return newGenericError(ErrInputUpgradeShipTechNotUsed, arg...)
|
||||
}
|
||||
|
||||
func NewUpgradeParameterNotAllowedError(arg ...any) error {
|
||||
return newGenericError(ErrInputUpgradeParameterNotAllowed, arg...)
|
||||
}
|
||||
|
||||
func NewUpgradeShipsAlreadyUpToDateError(arg ...any) error {
|
||||
return newGenericError(ErrInputUpgradeShipsAlreadyUpToDate, arg...)
|
||||
}
|
||||
|
||||
func NewUpgradeGroupNumberNotEnoughError(arg ...any) error {
|
||||
return newGenericError(ErrUpgradeGroupNumberNotEnough, arg...)
|
||||
}
|
||||
|
||||
func NewUpgradeInsufficientResourcesError(arg ...any) error {
|
||||
return newGenericError(ErrUpgradeInsufficientResources, arg...)
|
||||
}
|
||||
|
||||
func NewUpgradeGroupBreakNotAllowedError(arg ...any) error {
|
||||
return newGenericError(ErrInputUpgradeGroupBreakNotAllowed, arg...)
|
||||
}
|
||||
|
||||
func NewUpgradeTechLevelInsufficientError(arg ...any) error {
|
||||
return newGenericError(ErrInputUpgradeTechLevelInsufficient, arg...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user