Versions in this module Expand all Collapse all v1 v1.2.7 Apr 25, 2024 v1.2.6 Apr 22, 2024 v1.2.5 Apr 17, 2024 v1.2.4 Apr 16, 2024 v1.2.3 Mar 28, 2024 v1.2.2 Mar 28, 2024 v1.2.1 Mar 26, 2024 v1.2.0 Mar 26, 2024 v1.1.4 Mar 26, 2024 v1.1.3 Mar 26, 2024 v1.1.2 Mar 26, 2024 v1.1.1 Mar 26, 2024 v1.0.0 Mar 26, 2024 Changes in this version + const AccessTokenExpired + const AccessTokenIllegal + const ApiUrlNotFound + const BadRequest + const Conflict + const Forbidden + const InternalServerError + const NotFound + const OtherClientsLoggedIn + const OtherIPLoggedIn + const OtherPlaceLoggedIn + const PasswordExired + const RefreshTokenExpired + const RefreshTokenIllegal + const SessionTerminated + const UnKnownException + const Unauthorized + const VerifyCodeRequired + const WebCookisNotFound + type APIException struct + Data any + ErrCode int + HttpCode int + Message string + Meta any + Namespace string + Reason string + func ApiNotFound(format string, a ...interface{}) *APIException + func NewAPIException(namespace string, code int, reason, format string, a ...interface{}) *APIException + func NewAPIException1(code int, reason, format string, a ...interface{}) *APIException + func NewBadRequest(format string, a ...interface{}) *APIException + func NewNotFound(format string, a ...interface{}) *APIException + func NewWebCookisNotFoundnRequest(format string, a ...interface{}) *APIException + func (e *APIException) Error() string + func (e *APIException) ErrorCode() int + func (e *APIException) GetData() interface{} + func (e *APIException) GetHttpCode() int + func (e *APIException) GetMeta() interface{} + func (e *APIException) GetNamespace() string + func (e *APIException) GetReason() string + func (e *APIException) ToJson() string + func (e *APIException) WithNamespace(ns string) *APIException