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

zarr-developers / zarr-python / 1962
100%

Build:
DEFAULT BRANCH: master
Ran 18 Sep 2020 04:41PM UTC
Jobs 4
Files 29
Run time 12min
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

pending completion
1962

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 ?

9871 of 9919 relevant lines covered (99.52%)

3.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1962.1 18 Sep 2020 04:41PM UTC 0
97.97
Travis Job 1962.1
2 1962.2 (BUILD_DOCS='true') 18 Sep 2020 04:43PM UTC 0
97.98
Travis Job 1962.2
3 1962.3 18 Sep 2020 04:53PM UTC 0
99.99
Travis Job 1962.3
4 1962.4 18 Sep 2020 04:50PM UTC 0
99.52
Travis Job 1962.4
Source Files on build 1962
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1962
  • 35d709af on github
  • Prev Build on master (#1961)
  • Next Build on master (#1967)
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