lovr.threaderror
EditThe lovr.threaderror
callback is called whenever an error occurs in a Thread. It receives the Thread object where the error occurred and an error message.
The default implementation of this callback will call lovr.errhand
with the error.
function lovr.threaderror(thread, message)
-- your code here
end
Arguments
Name | Type | Description |
thread | Thread | The Thread that errored. |
message | string | The error message. |
Returns
Nothing