### Summary

https://docs.ansible.com/ansible/latest/collections/ansible/builtin/mandatory_filter.html makes no mention of the `msg` argument that was introduced in 0e7e3c0ae89a70c386168827b0c9defb956bee7e

### Issue Type

Documentation Report

### Component Name

lib/ansible/plugins/filter/mandatory.yml

### Ansible Version

```console
n/a
```


### Configuration

```console
n/a
```


### OS / Environment

n/a

### Additional Information

n/a

### Code of Conduct

- [X] I agree to follow the Ansible Code of Conduct
"""
    Retrieve the longest common path from the given list.
    :param paths: A list of file system paths.
    :type paths: List[str]
    :returns: The longest common path.
    :rtype: str
    """
    if not is_sequence(paths):
        raise AnsibleFilterTypeError("|path_join expects sequence, got %s instead." % type(paths))
    return os.path.commonpath(paths)
class FilterModule(object):
    ''' Ansible core jinja2 filters '''
    def filters(self):
        return {
            
            'b64decode': b64decode,
            'b64encode': b64encode,
            
            'to_uuid': to_uuid,
            
            'to_json': to_json,
            'to_nice_json': to_nice_json,
            'from_json': json.loads,
            
            'to_yaml': to_yaml,
            'to_nice_yaml': to_nice_yaml,
            'from_yaml': from_yaml,