prolic / HumusAmqp

PHP 7.4 AMQP library
https://humusamqp.readthedocs.io/
MIT License
76 stars 17 forks source link

Add "Server Error" Codes #69

Closed oqq closed 4 years ago

oqq commented 6 years ago

Currently it is not possible to use implementation-defined server-error codes how designated from the json-rpc spec: http://www.jsonrpc.org/specification#error_object

-32000 to -32099 | Server error | Reserved for implementation-defined server-errors.

Any usage of one of this error codes would lead in an exception.

/cc @tensor146