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

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()