E7003 Stdlib Validation Errors

requires-string

argument must be a string

When this occurs

Non-string to string function

Example error message

error[E7003]: strings.len() requires a string argument

How to fix

Pass a string to this function.

Related errors