symfony/symfony — Issue #3077: [Yaml][Parser] Exception for yaml file with not read permission.
Author: makasim
Created: 2012-01-10 09:52:57+00:00
State: open

Currently if you have yaml file without read permission you will get this exception:

```
InvalidArgumentException: The service file "/path_to_yaml_file" is not valid.

```

I think it could be better to add more descriptive exception if a yaml file exists but not readable. Like:

```
InvalidArgumentException: The service file "/path_to_yaml_file" is not readable.

```

I can do a PR if it make sense.