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

bigeasy / interrupt / 149
100%

Build:
DEFAULT BRANCH: master
Ran 11 Aug 2018 06:08AM UTC
Jobs 3
Files 3
Run time 12s
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
149

push

travis-ci

bigeasy
Interrupt as constructor. Context for causes.

Update so that `Interrupt` is a constructor. Change the function
signature so that you must specify the `cause` or `causes` in the
`context` object. They will be extracted and printed nested in a
heirachrical layout with their stack traces.

Add the ability to specify context for causes. This allows you to print
contextual information known by the catcher in addition to the
contextual information added to the thrown exception. It makes
invocation with an array of causes fussier, but if you're doing an array
of causes you're already fussing because you're maintaining an array of
caught exceptions. The causes will now be specified with an array of
arrays, instead of an array of causes. The arrays in the array will have
one or two elements. The first element is the cause. The second,
optional element is a context object that will be rendered as JSON5.

There is no more shorthand `cause` property. It is always an array of
`causes` and a parallel array of `contexts`.

34 of 34 branches covered (100.0%)

101 of 101 relevant lines covered (100.0%)

15.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 149.1 11 Aug 2018 06:08AM UTC 0
100.0
Travis Job 149.1
2 149.2 11 Aug 2018 06:08AM UTC 0
100.0
Travis Job 149.2
3 149.3 11 Aug 2018 06:08AM UTC 0
100.0
Travis Job 149.3
Source Files on build 149
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #149
  • b863d4b0 on github
  • Prev Build on master (#55)
  • Next Build on master (#150)
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