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

pinterest / elixir-thrift / 742
94%
master: 91%

Build:
Build:
LAST BUILD BRANCH: dependabot/hex/dialyxir-1.1.0
DEFAULT BRANCH: master
Ran 16 Feb 2017 10:01PM UTC
Jobs 2
Files 29
Run time 21s
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
742

push

travis-ci

web-flow
Implement Exception.message/1 for exceptions (#242)

We generate Elixir exception structs via defexception for Thrift
exception types. That macro always provides an exception/1
implementation, but message/1 is only generated if the exception is
defined with a :message field. When it doesn't, the generated code
produces a warning because the full Exception behaviour hasn't been
implemented.

This change generates a message/1 implementation for all of our Thrift
exception structs which don't have a natural :message field. It returns
the Kernel.inspect/2 string representation of the exception, which is
both simple and unambiguous.

641 of 682 relevant lines covered (93.99%)

702.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 742.1 (THRIFT=${TRAVIS_BUILD_DIR}/ci/thrift-docker) 16 Feb 2017 10:01PM UTC 0
93.99
Travis Job 742.1
2 742.2 (THRIFT=${TRAVIS_BUILD_DIR}/ci/thrift-docker) 16 Feb 2017 10:01PM UTC 0
93.99
Travis Job 742.2
Source Files on build 742
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #742
  • bd4f524b on github
  • Prev Build on thrift_tng (#739)
  • Next Build on thrift_tng (#747)
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