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

Other Languages