checks icon indicating copy to clipboard operation
checks copied to clipboard

Exclude `nil` function name from error

Open d-enk opened this issue 1 year ago • 0 comments

local function f(_)
	require("checks")("number")
end

assert(pcall(f, ""))
-- bad argument #1 to nil (number expected, got string)

d-enk avatar Sep 11 '24 12:09 d-enk