cjdrake / pyeda

Python EDA
BSD 2-Clause "Simplified" License
307 stars 55 forks source link

Normalize TypeError/ValueError messages #46

Closed cjdrake closed 10 years ago

cjdrake commented 10 years ago

Should standardize the format of runtime input argument errors. Should be something like:

expected {type or value description} [, got {type or value description} ]

The 'got' part of the statement can be a bit annoying to produce sometimes, so optional.