- Source:
Members
-
<static, constant> ERR_CODES
-
- Source:
Properties:
Name Type Description ERR_CODES
object Properties
Name Type Description parseError
number "-32700"
invalidRequest
number "-32600"
methodNotFound
number "-32601"
invalidParams
number "-32602"
internal
number "-32603"
timeout
number "-32000"
unknown
number "-32001"
-
<static, constant> ERR_MSGS
-
- Source:
Properties:
Name Type Description ERR_MSGS
object Properties
Name Type Description parseError
string "Parse Error"
invalidRequest
string "Invalid Request"
methodNotFound
string "Method not found"
invalidParams
string "Invalid Parameters"
internal
string "Internal Error"
timeout
string "Request Timeout"
unknown
string "Unknown Error"
-
<static, constant> errorToStatus
-
Returns HTTP status code for a given error code
- Source:
Properties:
Name Type Description errorToStatus
object Properties
Name Type Description -32700
number 500
-32600
number 400
-32601
number 404
-32602
number 500
-32603
number 500
-32000
number 408
-32001
number 500