Versions in this module Expand all Collapse all v0 v0.4.0 Dec 4, 2022 Changes in this version + const ConnectionErr + const ContextNotFound + const ServiceNotFound v0.3.9 Oct 16, 2022 v0.3.8 Oct 14, 2022 Changes in this version + const MessageEncodingFailed type Code + func (c Code) MarshalJSON() ([]byte, error) type LErrorDesc + func LWarpStdError(desc LErrorDesc, mores ...interface{}) LErrorDesc + Code func() int + Message func() string + Mores func() []interface{} + type LErrors interface + LNewErrorDesc func(code int, message string, mores ...interface{}) LErrorDesc + LWarpErrorDesc func(desc LErrorDesc, mores ...interface{}) LErrorDesc type LStdError + LCode Code + LMessage string + LMores []interface{} + type LWarpErrorDesc func(desc LErrorDesc, mores ...interface{}) LErrorDesc v0.3.6 Sep 11, 2022 Changes in this version + const CallArgsTypeErr + const ClientError + const CodecMarshalErr + const InstanceNoRegister + const MessageDecodingFailed + const MethodNoRegister + const ServerError + const Success + const Unknown + const UnsafeOption + type Code int + func (c Code) String() string + type LBaseError struct + Code int + Message string + Mores []interface{} + func LNewBaseError(code int, message string, mores ...interface{}) *LBaseError + type LErrorDesc interface + AppendMore func(more interface{}) + GetCode func() int + GetMessage func() string + GetMores func() []interface{} + MarshalMores func() ([]byte, error) + SetCode func(code int) + SetMessage func(message string) + SetMores func(mores []interface{}) + UnmarshalMores func([]byte) error + func LNewStdError(code int, message string, mores ...interface{}) LErrorDesc + type LNewErrorDesc func(code int, message string, mores ...interface{}) LErrorDesc + type LStdError struct + Code int + Message string + Mores []interface{} + func (L *LStdError) AppendMore(more interface{}) + func (L *LStdError) Error() string + func (L *LStdError) GetCode() int + func (L *LStdError) GetMessage() string + func (L *LStdError) GetMores() []interface{} + func (L *LStdError) MarshalMores() ([]byte, error) + func (L *LStdError) SetCode(code int) + func (L *LStdError) SetMessage(message string) + func (L *LStdError) SetMores(mores []interface{}) + func (L *LStdError) UnmarshalMores(bytes []byte) error