Thread:getError

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Retrieves the error string from the thread if it produced an error.

Function

Synopsis

err = Thread:getError( )

Arguments

None.

Returns

string err (nil)
The error message, or nil if the Thread has not caused an error.

See Also

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Thread:getError