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

uber-go / fx / 2166 / 2
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: glue-dig-b3
DEFAULT BRANCH: master
Ran 08 Mar 2017 05:46PM UTC
Files 53
Run time 4s
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

08 Mar 2017 05:34PM UTC coverage: 91.61%. First build
V=1 COVERMODE=atomic

push

travis-ci

abhinav
constructors: Allow returning errors

This allows constructors to fail with an error. The error is wrapped for
every layer so that you get,

    unable to resolve foo.Type:
      unable to resolve bar.Type dependency:
        root cause

This works by changing `funcNode`s to always be functions in the form,

    func(...) ($ResultType, error)

When constructors are initially registered, if they are in the no-error
form, we wrap them to always return a `nil` error.

2839 of 3099 relevant lines covered (91.61%)

25.64 hits per line

Source Files on job 2166.2 (V=1 COVERMODE=atomic)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2166
  • Travis Job 2166.2
  • 767ce674 on github
  • Next Job for V=1 COVERMODE=atomic on constructor-errors (#2167.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc