Description

ArgumentError raises an error with a standard message that includes extraMessage as a comment.

This function never returns. It is an idiom to use it in Go functions as

lua.ArgumentError(l, args, "message")
panic("unreachable")

ArgumentError is referenced in 3 repositories

github.com/Shopify/go-lua github.com/jtolds/go-luar

...