Thread:getError

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
errorstringThe error message, or nil if no error has occurred on the Thread.

See also