Documentation ¶
Index ¶
- func SetServiceIdentifier(service Service)
- type Code
- type Error
- func (err *Error) Error() string
- func (err *Error) FromProto(protoError *proto.Error)
- func (err *Error) ParseError(nativeError error)
- func (err Error) ToError(nativeError error) *Error
- func (err Error) ToErrorWithArguments(nativeError error, args ...interface{}) *Error
- func (err Error) ToProto() *proto.Error
- func (err *Error) Unwrap() *Error
- type Number
- type Service
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetServiceIdentifier ¶
func SetServiceIdentifier(service Service)
Types ¶
type Code ¶
func GenerateErrorCode ¶
func (*Code) FromProto ¶
func (code *Code) FromProto(protoCode *proto.Error_Code)
func (*Code) ToProto ¶
func (code *Code) ToProto() *proto.Error_Code
func (*Code) UnmarshalText ¶
type Error ¶
func FromMicroError ¶
func FromNativeError ¶
func FromNetworkError ¶
func ParseError ¶
func (*Error) ParseError ¶
func (Error) ToErrorWithArguments ¶
Click to show internal directories.
Click to hide internal directories.