Versions in this module Expand all Collapse all v0 v0.0.4 Oct 1, 2024 v0.0.3 Aug 16, 2024 v0.0.2 Aug 8, 2024 v0.0.1 Jul 25, 2024 Changes in this version + const BotBalanceLessThanMinimum + const BotCompanyError + const BotDoesntExistError + const BotKeyCantDelete + const CantUnfollowLOT + const ContentMissing + const DuplicateAPIKey + const EmailAlreadyConfirmed + const EmailAlreadyRegistered + const EmailBelongsToAnotherAccount + const EmailNotRegistered + const ErrorBotBalanceNotSufficient + const ErrorBotCopyingKeyInvalidated + const ErrorBotOpenOrderFound + const ErrorBotOriginalKeyInvalidated + const ErrorBotPositionMismatch + const ErrorBotRatioDifferenceHigh + const ErrorBotUnknown + const ErrorCopyLeaderConditionsNotMet + const ErrorKeyIsNotCopyLeader + const ErrorKeyIsRegisteredInAnotherBot + const FunctionNotSupportedYetForGivenExchange + const InvoicePaymentVerifyUnknownError + const KeyHasNoPermissionForGivenOperation + const LeagueMinimumBalanceNotMet + const LeagueRegisterByPassed + const LeagueRemovedDueToKeyDelete + const NameAlreadyRegistered + const NoLeaguePresent + const PasswordLessThanRequired + const PhoneNumberBelongsToAnotherAccount + const ReferralCodeMissing + const SomethingMissing + const Unauthorized + const UnknownServerError + const UserDeleted + const WrongAccessToken + const WrongConfirmationCode + const WrongEmailOrPassword + const WrongPassword + type Error struct + Code int + Error error + Message string + func BadRequestError(location string) *Error + func BadRequestMsgErr(msg string) *Error + func ConflictError(message string) *Error + func DetectError(err error) *Error + func InternalServerError(err error) *Error + func InternalServerErrorLoc(loc string, err error) *Error + func New(message string, code int) *Error + func NotAuthorizedError(message string) *Error + func NotAuthorizedUser() *Error + func NotFoundError(message string) *Error + func SomethingMissingError(message string) *Error + func UnavailableLegalReason(message string) *Error