SERVER_ERROR top-level constant

int const SERVER_ERROR

An unexpected error occurred on the server.

The spec reserves the range from -32000 to -32099 for implementation-defined server exceptions, but for now we only use one of those values.

Implementation

const SERVER_ERROR = -32000;