Home
last modified time | relevance | path

Searched refs:NewTProtocolExceptionWithType (Results 1 – 10 of 10) sorted by relevance

/thrift-3.4.0/lib/go/thrift/
Dprotocol_exception.go81 return NewTProtocolExceptionWithType(INVALID_DATA, err)
84 return NewTProtocolExceptionWithType(UNKNOWN_PROTOCOL_EXCEPTION, err)
87 func NewTProtocolExceptionWithType(errType int, err error) TProtocolException { func
Dsimple_json_protocol.go89 var errEmptyJSONContextStack = NewTProtocolExceptionWithType(INVALID_DATA, errors.New("Unexpected e…
401 return "", STOP, 0, NewTProtocolExceptionWithType(INVALID_DATA, e)
481 return value, NewTProtocolExceptionWithType(INVALID_DATA, e)
493 return value, NewTProtocolExceptionWithType(INVALID_DATA, e)
505 return value, NewTProtocolExceptionWithType(INVALID_DATA, e)
509 return value, NewTProtocolExceptionWithType(INVALID_DATA, e)
561 return v, NewTProtocolExceptionWithType(INVALID_DATA, e)
565 return v, NewTProtocolExceptionWithType(INVALID_DATA, e)
591 return v, NewTProtocolExceptionWithType(INVALID_DATA, e)
595 return v, NewTProtocolExceptionWithType(INVALID_DATA, e)
[all …]
Djson_protocol.go232 return name, typeId, seqId, NewTProtocolExceptionWithType(INVALID_DATA, e)
402 return v, NewTProtocolExceptionWithType(INVALID_DATA, e)
406 return v, NewTProtocolExceptionWithType(INVALID_DATA, e)
432 return v, NewTProtocolExceptionWithType(INVALID_DATA, e)
436 return v, NewTProtocolExceptionWithType(INVALID_DATA, e)
532 return "", NewTProtocolExceptionWithType(INVALID_DATA, e)
564 return TType(STOP), NewTProtocolExceptionWithType(INVALID_DATA, e)
Dexception_test.go40 err3 := NewTProtocolExceptionWithType(INVALID_DATA, errors.New("original error"))
Dconfiguration.go307 return NewTProtocolExceptionWithType(
313 return NewTProtocolExceptionWithType(
Dprotocol.go97 return NewTProtocolExceptionWithType(DEPTH_LIMIT, errors.New("Depth limit exceeded"))
186 return NewTProtocolExceptionWithType(INVALID_DATA, fmt.Errorf("Unknown data type %d", fieldType))
Dheader_transport.go364 return NewTProtocolExceptionWithType(
399 return NewTProtocolExceptionWithType(
431 return NewTProtocolExceptionWithType(
731 return NewTProtocolExceptionWithType(
Dcompact_protocol.go191 …return NewTProtocolExceptionWithType(INVALID_DATA, errors.New("WriteStructEnd called without match…
390 return "", typeId, seqId, NewTProtocolExceptionWithType(BAD_VERSION, e)
402 err = NewTProtocolExceptionWithType(BAD_VERSION, e)
429 …return NewTProtocolExceptionWithType(INVALID_DATA, errors.New("ReadStructEnd called without matchi…
Dbinary_protocol.go281 …return name, typeId, seqId, NewTProtocolExceptionWithType(BAD_VERSION, fmt.Errorf("Bad version in …
294 …return name, typeId, seqId, NewTProtocolExceptionWithType(BAD_VERSION, fmt.Errorf("Missing version…
/thrift-3.4.0/lib/go/test/tests/
Dclient_error_test.go494 err := thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, errors.New("test"))
526 err := thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, errors.New("test"))