Skip to content
Snippets Groups Projects
Commit 709938a9 authored by Ilya Verbin's avatar Ilya Verbin Committed by Serge Petrenko
Browse files

box/lua: don't mask error object methods by payload fields

With commit eb2c6a4a ("box/lua: allow to set custom error payload
fields") it is possible to add a field named "raise", but it will
override the `error_object:raise()' method. Forbid it. The user can
still access masked payload fields through the `unpack()' method.

NO_DOC=unreleased
NO_CHANGELOG=unreleased
parent 0e86fbde
No related branches found
No related tags found
No related merge requests found
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