Description

Errorf raises an error. The error message format is given by format plus any extra arguments, following the same rules as PushFString. It also adds at the beginning of the message the file name and the line number where the error occurred, if this information is available.

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

lua.Errorf(l, args)
panic("unreachable")

Errorf is referenced in 4 repositories

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

...