Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExceptionType ¶
type ExceptionType int32
const ( ExceptionTypeUnknown ExceptionType = 0 ExceptionTypeUnknownMethod ExceptionType = 1 ExceptionTypeInvalidMessageType ExceptionType = 2 ExceptionTypeWrongMethodName ExceptionType = 3 ExceptionTypeBadSequenceID ExceptionType = 4 ExceptionTypeMissingResult ExceptionType = 5 ExceptionTypeInternalError ExceptionType = 6 ExceptionTypeProtocolError ExceptionType = 7 ExceptionTypeInvalidTransform ExceptionType = 8 ExceptionTypeInvalidProtocol ExceptionType = 9 ExceptionTypeUnsupportedClientType ExceptionType = 10 )
func (ExceptionType) MarshalJSON ¶ added in v0.4.0
func (v ExceptionType) MarshalJSON() ([]byte, error)
func (ExceptionType) String ¶
func (v ExceptionType) String() string
func (*ExceptionType) UnmarshalJSON ¶ added in v0.4.0
func (v *ExceptionType) UnmarshalJSON(text []byte) error
type TApplicationException ¶
type TApplicationException struct { Message *string `json:"message,omitempty"` Type *ExceptionType `json:"type,omitempty"` }
func (*TApplicationException) Error ¶
func (v *TApplicationException) Error() string
func (*TApplicationException) FromWire ¶
func (v *TApplicationException) FromWire(w wire.Value) error
func (*TApplicationException) String ¶
func (v *TApplicationException) String() string
Click to show internal directories.
Click to hide internal directories.