58ecd92b8e
Previously, a Lua error was thrown when loading a file failed. Most callers are not prepared for this and the result is less than optimal. This commit makes the functions print the errors and return nil instead. For callers that want to handle errors themselves, "_silent" variants of the functions are introduced which just return errors to the caller. Signed-off-by: Uli Schlachter <psychon@znc.in> |
||
---|---|---|
.. | ||
cache.lua | ||
color.lua | ||
debug.lua | ||
init.lua | ||
matrix.lua | ||
object.lua | ||
sort.lua | ||
surface.lua | ||
timer.lua | ||
wallpaper.lua |