Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
SimTX Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
SimTX API/Limits and errors
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Error model == Every failure arrives in one of these ways: {| class="wikitable" ! What failed !! How it arrives !! Afterwards |- | The hello || [[SimTX API/Packets/ServerHello|ServerHello]] with a status other than <code>ACCEPTED</code> and a message || The connection closes. |- | A receiver or transmitter start || [[SimTX API/Packets/SessionStatus|SessionStatus]] <code>REJECTED</code> with <code>code</code> and <code>reason</code> || The connection closes. |- | A running session, stopped by the server || [[SimTX API/Packets/SessionStatus|SessionStatus]] <code>ENDED</code> with <code>code</code> and <code>reason</code> || The connection closes. |- | A request: control, catalog, moderation, ephemeris, passes, monitor, pointing, retune || [[SimTX API/Packets/Error|Error]] with <code>code</code>, <code>message</code> and the request's <code>request_id</code> || The session continues. |- | A transmitter live update || [[SimTX API/Packets/TxUpdateAck|TxUpdateAck]] with <code>accepted = false</code> for the refused fields || The session continues. |- | A protocol violation: a malformed frame, a frame not allowed in the session, values out of range || [[SimTX API/Packets/Error|Error]] <code>INVALID_REQUEST</code>, <code>request_id</code> 0, where the server can still send it || The connection closes. |- | A control rate limit || [[SimTX API/Packets/Error|Error]] <code>RATE_LIMITED</code> || The connection closes. |} <syntaxhighlight lang="protobuf"> message Error { ErrorCode code = 1; string message = 2; int64 request_id = 3; } </syntaxhighlight>
Summary:
Please note that all contributions to SimTX Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
SimTX Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)