Lua Util: add missing docstring to defineHowTo
This commit is contained in:
parent
36f1846cc3
commit
1ffe47b9b9
1 changed files with 1 additions and 1 deletions
|
@ -134,6 +134,6 @@ throwTopMessageAsError' modifier = do
|
|||
Lua.pop 2 -- remove error and error string pushed by tostring'
|
||||
Lua.throwException (modifier (UTF8.toString msg))
|
||||
|
||||
|
||||
-- | Mark the context of a Lua computation for better error reporting.
|
||||
defineHowTo :: String -> Lua a -> Lua a
|
||||
defineHowTo ctx = Lua.withExceptionMessage (("Could not " <> ctx <> ": ") <>)
|
||||
|
|
Loading…
Reference in a new issue