love.threaderror

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

Callback function triggered when a Thread encounters an error.

Function

Synopsis

love.threaderror( thread, errorstr )

Arguments

Thread thread
The thread which produced the error.
string errorstr
The error message.

Returns

Nothing.

Example

function love.threaderror(thread, errorstr)
  print("Thread error!\n"..errorstr)
end

See Also

Other Languages