alecthomas / alecthomas/voluptuous

Potentially add actual type in MultipeInvalid exception

Open
#394 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.9k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

Given the following error message
```
voluptuous.error.MultipleInvalid: expected str for dictionary value @ data['timeRange']
```

It would be useful to modify the message to say

```
voluptuous.error.MultipleInvalid: expected str for dictionary value @ data['timeRange'] but found int instead
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.