public RuntimeException syntax(String message) {
        return new RuntimeException("Syntax error at line " + line() + ", column " + column() + ": " + message);
    }
Creates a syntax error that adds some context to the given message.

@param message Message for why the error occurred.
@return Returns the created syntax error.
smithy-utils/src/main/java/software/amazon/smithy/utils/SimpleParser.java