Closed
Description
Related dev. issue(s): tarantool/tarantool#9914
Product: Tarantool
Since: 3.2
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_error/
SME: @ nshy
Details
The function checks whether argument passed is box.error.
tarantool> box.error.is(box.error.new(box.error.UNKNOWN))
---
- true
...
tarantool> box.error.is('foo')
---
- false
...
Requested by @ nshy in tarantool/tarantool@8ed6104.