// UnmarshalError decode binary and return error message
UnmarshalError decode binary and return error message
// UnmarshalError decode binary and return error message
func UnmarshalError(b []byte) error {
	trans := thrift.NewStreamTransportR(bytes.NewReader(b))
	proto := thrift.NewTBinaryProtocolTransport(trans)
	if _, _, _, err := proto.ReadMessageBegin(); err != nil {
		return fmt.Errorf("read message begin error: %w", err)
	}
	e := thrift.NewTApplicationException(0, "")
	if err := e.Read(proto); err != nil {
		return fmt.Errorf("read exception error: %w", err)
	}
	if err := proto.ReadMessageEnd(); err != nil {
		return fmt.Errorf("read message end error: %w", err)
	}
	return e
}
func UnmarshalError ( b [ ] byte ) error { trans := thrift . NewStreamTransportR ( bytes . NewReader ( b ) ) proto := thrift . NewTBinaryProtocolTransport ( trans ) if _ , _ , _ , err := proto . ReadMessageBegin ( ) ; err != nil { return fmt . Errorf ( " " , err ) } e := thrift . NewTApplicationException ( 0 , " " ) if err := e . Read ( proto ) ; err != nil { return fmt . Errorf ( " " , err ) } if err := proto . ReadMessageEnd ( ) ; err != nil { return fmt . Errorf ( " " , err ) } return e }
UnmarshalError decode binary and return error message
UnmarshalError decode binary and return error message