public RuleError withContext(String context, SourceLocation location) {
        this.contexts.add(Pair.of(context, location));
        return this;
    }
Sets a piece of context on this error.

@param context the context to add to the error.
@param location the source location of the context being added.
@return returns this error with the added context.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/error/RuleError.java