aboutsummaryrefslogtreecommitdiff
path: root/test/s5.native
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2017-10-03 20:45:11 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2017-10-03 20:45:11 +0200
commit371f9b708478700992a74864985cfea0af2fd4c3 (patch)
tree0eb4c00af3079b2342ae452ec285cd28f5155944 /test/s5.native
parent9b750f7d879b1da386e49ecfd51ef9d023dc5d66 (diff)
downloadpandoc-371f9b708478700992a74864985cfea0af2fd4c3.tar.gz
pandoc.lua: use wrapper funciton for pipe command
The pipe command is wrapped in a lua function, throwing a lua error if the command returns with an error. A wrapper is needed as Haskell functions exposed to lua may not throw lua errors due to limitations of hslua. The error handling is written such that a table can be returned as an error object in the future. This is potentially useful when finer control is required while catching the error in lua code. Current limitations of hslua require error objects to be strings.
Diffstat (limited to 'test/s5.native')
0 files changed, 0 insertions, 0 deletions