Author |
Topic: Error strings (4 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
PArnoldson Posts: 154 Joined: Oct 03, 2007 |
What is the error string that is given back, for when the server is down?
Is there a list of all the Error strings and what causes them? |
||||
SergeK -Developer- Posts: 475 Joined: Jan 26, 2007 |
There is no such list - most error messages are generated by .NET platform.
when server is down, you might receive "Connect to OEC Server failed. Please check your internet connection" or a socket exception message. |
||||
PArnoldson Posts: 154 Joined: Oct 03, 2007 |
I am not looking for the .net generated errors. I was looking for the errors that your servers send for any type reasons such as the server actively rejects connection. Or maybe the you don’t have enough margin to place an order error. Etc..
|
||||
SergeK -Developer- Posts: 475 Joined: Jan 26, 2007 |
if a server is not up, TCP connection fails and a .NET socket exception is generated - OEC API just passes it to the OnError event.
Also we do not have list of order server errors - their text is just forwarded as is from exchange interfaces, risk system and other places, and are intended for notification only. We would not recomment to implement any logic based on the contents of these messages. |
||||