aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Lua/ErrorConversion.hs
AgeCommit message (Collapse)AuthorFilesLines
2021-10-22Switch to hslua-2.0Albert Krewinkel1-42/+29
The new HsLua version takes a somewhat different approach to marshalling and unmarshalling, relying less on typeclasses and more on specialized types. This allows for better performance and improved error messages. Furthermore, new abstractions allow to document the code and exposed functions.
2021-01-08Update copyright notices for 2021 (#7012)Albert Krewinkel1-1/+1
2020-04-17API change: use PandocError for exceptions in Lua subsystemAlbert Krewinkel1-0/+61
The PandocError type is used throughout the Lua subsystem, all Lua functions throw an exception of this type if an error occurs. The `LuaException` type is removed and no longer exported from `Text.Pandoc.Lua`. In its place, a new constructor `PandocLuaError` is added to PandocError.