An Open Server application, a client application, and Open Server itself can each provoke Open Server errors. Here is a description of errors that occur in each type of category:
Open Server application errors – error occurs because of a mistake in application code. For example, if an application attempted to send a row of data to a client without first describing the format of the data, Open Server raises an error.
Client command errors – error occurs when a client has sent an incomplete or nonsensical request. Requests can be incomplete or meaningless because of faulty client code or because of a network problem. An Open Server application should handle these errors in the event handler for the client request, usually by sending the appropriate error messages to the client with srv_sendinfo. See “Client command errors” for more details. The application can also set the status parameter in srv_senddone to SRV_DONE_ERROR to indicate that a client request provoked an error.
Open Server resource errors – error originates with the Open Server itself. It typically occurs because of a lack of some resource, like memory or user connections.