Error Codes
PgArachne returns standard JSON-RPC 2.0 error objects. Below are the specific codes you may encounter:
| Code | Message | Meaning |
|---|---|---|
-32700 | Parse error | Invalid JSON was received by the server. |
-32601 | Method not found | The function does not exist in the schema. |
-32602 | Invalid params | Arguments do not match the function signature. |
-32001 | Permission denied | The current user role lacks privileges to execute the function (DB level). |
-32000 | Internal Error | Generic server error (check logs). |