Thread:getError

Edit

Returns the message for the error that occurred on the Thread, or nil if no error has occurred.

error = Thread:getError()

Arguments

None

Returns

NameTypeDescription
errorstring The error message, or nil if no error has occurred on the Thread.

See also