Versions in this module Expand all Collapse all v0 v0.3.0 Nov 21, 2023 Changes in this version + const CodeAPISignError + const CodeAuthError + const CodeCompanyAlreadyExist + const CodeCompanyMemberAlreadyExist + const CodeCompanyMemberNotFound + const CodeCompanyNotEmpty + const CodeCompanyNotFound + const CodeDeptAlreadyExist + const CodeDeptMemberAlreadyExist + const CodeDeptMemberNotFound + const CodeDeptNotEmpty + const CodeDeptNotFound + const CodeDeviceNotFound + const CodeFavoriteAlreadyExist + const CodeFavoriteNotFound + const CodeForbiddenDelete + const CodeForbiddenUpdate + const CodeGroupAlreadyExist + const CodeGroupMemberAlreadyExist + const CodeGroupMemberNotFound + const CodeGroupNotEmpty + const CodeGroupNotFound + const CodeInvalidSessionID + const CodeNoAccessPermission + const CodeNoDeletePermission + const CodeNoGetPermission + const CodeNoPermission + const CodeParamFormatError + const CodePasswordError + const CodeRemoteError + const CodeResourceAlreadyExist + const CodeResourceNotFound + const CodeServerError + const CodeSessionIDExisted + const CodeSessionNotFound + const CodeUnknownError + const CodeUnsupportedContentType + const CodeUserAlreadyExist + const CodeUserNotFound + func GetCode(err error) int + func New(code int, message string, args ...interface{}) error