Tarantool CE/EE Documentation portal logo
Support
Updated at October 21, 2026   10:46 AM

box.error.last()

box.error.last()

Get the last raised error.

Returns

an error_object representing the last error

Example

box.error.last()--[[---- error: Internal server error...--]]

See also: error_object:unpack()