box.error.clear()
-
box.error.
clear
() Clear the record of errors, so functions like
box.error()
orbox.error.last()
will have no effect.Example:
tarantool> box.schema.space.create('') --- - error: Invalid identifier '' (expected printable symbols only or it is too long) ... tarantool> box.error.last() --- - Invalid identifier '' (expected printable symbols only or it is too long) ... tarantool> box.error.clear() --- ... tarantool> box.error.last() --- - null ...