Tarantool CE/EE Documentation portal logo
Support
Updated at October 22, 2026   11:37 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()