Tarantool CE/EE Documentation portal logo
Support
Updated at July 17, 2026   02:08 PM

box.error.is()

box.error.is(object)

Since: 3.2.0

The box.error.is function allows verify whether the specified argument is an error cdata object.

Parameters:

  • object (object) — the object to be verified.

Return type: boolean

Example

tarantool> box.error.is(box.error.new(box.error.UNKNOWN))---- true...tarantool> box.error.is('foo')---- false...