Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
Functions ¶
This section is empty.
Types ¶
type Err ¶
type Err int64
const ( Err_Success Err = 0 Err_NoRoute Err = 1 Err_NoMethod Err = 2 Err_BadRequest Err = 10000 Err_ParamsErr Err = 10001 Err_AuthorizeFail Err = 10002 Err_TooManyRequest Err = 10003 Err_ServiceErr Err = 20000 Err_RPCUserSrvErr Err = 30000 Err_UserSrvErr Err = 30001 Err_RPCBlobSrvErr Err = 40000 Err_BlobSrvErr Err = 40001 Err_RPCCarSrvErr Err = 50000 Err_CarSrvErr Err = 50001 Err_RPCProfileSrvErr Err = 60000 Err_ProfileSrvErr Err = 60001 Err_RPCTripSrvErr Err = 70000 Err_TripSrvErr Err = 70001 Err_RecordNotFound Err = 80000 Err_RecordAlreadyExist Err = 80001 Err_DirtyData Err = 80003 )
func ErrFromString ¶
Click to show internal directories.
Click to hide internal directories.