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

uber-go / zap / 300
97%

Build:
DEFAULT BRANCH: master
Ran 06 Jul 2016 01:22AM UTC
Jobs 3
Files 12
Run time 1min
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
300

push

travis-ci

web-flow
Encode errors under different keys (#93)

Currently, we don't handle encoding errors in a consistent way
- `AddObject` serializes the error into the log message, but
`AddMarshaler` logs the message to standard out. Even though very few
portions of the code can fail at runtime, we end up checking and
managing errors all over the place.

This PR allows the encoder to return an error for `AddObject` and
`AddMarshaler`, which are the only two methods that can fail. However,
the field handles that error by serializing it under a different key
(errors for the key `foo` are serialized under `fooError`).

This should make our APIs less cumbersome and our error handling more
consistent. It fixes #43.

505 of 505 relevant lines covered (100.0%)

37106.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 300.1 06 Jul 2016 01:22AM UTC 0
100.0
Travis Job 300.1
2 300.2 06 Jul 2016 01:22AM UTC 0
100.0
Travis Job 300.2
3 300.3 06 Jul 2016 01:24AM UTC 0
100.0
Travis Job 300.3
Source Files on build 300
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #300
  • 63d56df1 on github
  • Prev Build on master (#295)
  • Next Build on master (#310)
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