lovr.threaderror

The lovr.threaderror callback is called whenever an error occurs in a Thread. It receives a 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
threadThreadThe Thread that errored.
messagestringThe error message.

Returns

Nothing

See also