impure functiongetErrorString

Returns current error messages.

Information

Returns a user-friendly string containing the errors stored in the buffer. With warningsAsErrors=true, it reports warnings as if they were errors.

Inputs

TypeNameDefaultDescription
BooleanwarningsAsErrorsfalse

Outputs

TypeNameDefaultDescription
StringerrorString