box.error.clear() | Tarantool
Tarantool
Check out the new release policy

box.error.clear()

box.error.clear()

Clear the record of errors, so functions like box.error() or box.error.last() will have no effect.

Example:

tarantool> box.error.last()
---
- Invalid identifier '' (expected printable symbols only or it is too long)
...
tarantool> box.error.clear()
---
...
tarantool> box.error.last()
---
- null
...
Found what you were looking for?
Feedback