Simplify throw functions by using fmt.Sprintf

Most throws are in the form of throwTypeError(tls, ctx, "%s", e.Error()) or throwTypeError(tls, ctx, "%s", fmt.Sprintf(...)). This change simplifies throw functions to accept just a string.

See #14 (closed) - this fixes the symptom.

Merge request reports

Loading