You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to improve exceptions thrown by Tarantool:
Use separate class, e.g. TarantoolException, or even hierarchy of classes.
For "query errors" you could pass error code as $code parameter, so that it would be available through $exception->getCode().
Save lua-traceback to some custom field of your exception object. Currently we should use xpcall with debug.traceback(), and return traceback manually.
The text was updated successfully, but these errors were encountered:
1 and 2 - It's planned (and partially implemented) on PHP7 branch. Please, look at #36
3 - It must be implemented on Tarantool's side. Please, look at tarantool/tarantool#677
It would be great to improve exceptions thrown by Tarantool:
The text was updated successfully, but these errors were encountered: