diff options
author | wm4 <wm4@nowhere> | 2014-02-11 00:10:25 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-11 00:10:25 +0100 |
commit | 444f79d86f5483a35f83d3a5efc9cea859f88bf8 (patch) | |
tree | a22722153402bd83642945a97120cd25a5fa4549 /LICENSE | |
parent | 7a53dd5f2fc5990691f1f2353513b33e29f833aa (diff) | |
download | mpv-444f79d86f5483a35f83d3a5efc9cea859f88bf8.tar.bz2 mpv-444f79d86f5483a35f83d3a5efc9cea859f88bf8.tar.xz |
lua: change error behavior
Return the error Lua-style, instead of raising it as Lua error. This is
better, because raising errors is reserved for more "fatal" conditions.
Pretending they're exceptions and trying to do exception-style error
handling will just lead to pain in this language.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions