box.error.last()

box.error.last()¶

Get the last raised error.

Return:an error_object representing the last error

Example

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

See also: error_object:unpack()

Found what you were looking for?
Feedback