TestFunctions.throws

Return true if the provided code throws an error; false otherwise.

pcall takes care of Lua errors, and the try/catch handled D exceptions.

class TestFunctions
nothrow
bool
throws
(
string code
)

Meta