hslua-1.3.0.1: Bindings to Lua, an embeddable scripting language
Copyright© 2017-2020 Albert Krewinkel
LicenseMIT
MaintainerAlbert Krewinkel <tarleb+hslua@zeitkraut.de>
Stabilitybeta
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Foreign.Lua.Raw.Error

Description

Lua exceptions and exception handling.

Synopsis

Passing Lua errors to Haskell

errorMessage :: State -> IO ByteString Source #

Retrieve and pop the top object as an error message. This is very similar to tostring', but ensures that we don't recurse if getting the message failed.