lovr.threaderror

Edit

The 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

NameTypeDescription
threadThread The Thread that errored.
messagestring The error message.

Returns

Nothing

See also