def METHOD_NAME(cls, end: int, values):
    """Validates span offset"""
    assert (
        end > values["start"]
    ), "End character cannot be placed before the starting character, it must be at least one character after."
    return end