Skip to content
Snippets Groups Projects
Commit cd3ec248 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

gh-314: a method that returns the last error

* implement two new calls:
  box.error.last() - returns last error, if any, as a Lua table
  box.error.clear() - clears the last error

* add an alias for box.error(), box.error.raise()
parent 51b2e0dc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment