txamqp raise error in txthrift
Asked by
DarkAnthey
Hello,
How can I raise error in server with txthrift.
I have thrift shema.
exception InvalidOperation {
1: string what,
2: string why
}
...
And some function to raise exception for example:
if time > 60:
raise InvalidOperatio
or
return defer.fail(
or
return InvalidOperatio
But none of them is not working as expected. The server has not transferred any exception to client.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- txAMQP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask DarkAnthey for more information if necessary.
To post a message you must log in.