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

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

Build:
Build:
LAST BUILD BRANCH: glue-dig-b3
DEFAULT BRANCH: master
Ran 08 Mar 2017 05:46PM UTC
Jobs 1
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

pending completion
2166

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

Jobs
ID Job ID Ran Files Coverage
2 2166.2 (V=1 COVERMODE=atomic) 08 Mar 2017 05:46PM UTC 0
91.61
Travis Job 2166.2
Source Files on build 2166
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2166
  • 767ce674 on github
  • Next Build on constructor-errors (#2167)
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