• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zarr-developers / zarr-python / 1962 / 4
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 18 Sep 2020 04:50PM UTC
Files 29
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Sep 2020 04:31PM UTC coverage: 99.519% (-0.5%) from 99.99%
1962.4

push

travis-pro

web-flow
Use Error subclasses instead of functions. (#590)

I believe this has several advantage:

  1) reading the code it is obvious we are directly raising instead of
  doing more stuff.

  2) in traceback the last frame will be correct, so it's easier to find
  where the error occurs.

  3) All of these are now subclasses which can be caught independently
  by libraries while still being subclass of ValueError, so backward
  compatible. Can be caught without catching other ValueErrors.

  4) the name of the class is descriptive

I'm not too sure about some naming. Is ContainsXxxxError sufficient to
understand that it contain Xxxxx but Xxxx was not expected ?

9931 of 9979 relevant lines covered (99.52%)

1.0 hits per line

Source Files on job 1962.4
  • Tree
  • List 0
  • Changed 14
  • Source Changed 7
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 152
  • Travis Job 1962.4
  • 35d709af on github
  • Prev Job for on master (#1961.3)
  • Next Job for on master (#1967.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc