Open edgaraafelix opened 8 years ago
Is it possible to add specific error codes for RqlException, RqlServerError or RqlDriverError?
RqlException
RqlServerError
RqlDriverError
In some cases, this would make error checking much easier.
E.g.:
throw new RqlDriverError("Failed to encode document as JSON: " . json_last_error(), 001)
Note that the code 001 is only an example.
001
Is it possible to add specific error codes for
RqlException
,RqlServerError
orRqlDriverError
?In some cases, this would make error checking much easier.
E.g.:
throw new RqlDriverError("Failed to encode document as JSON: " . json_last_error(), 001)
Note that the code
001
is only an example.