Tarantool CE/EE Documentation portal logo
Support
Updated at September 15, 2026   08:55 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()