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

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

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

16 Feb 2017 09:58PM UTC coverage: 93.988% (+0.009%) from 93.979%
THRIFT=${TRAVIS_BUILD_DIR}/ci/thrift-docker

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%)

351.33 hits per line

Source Files on job 742.1 (THRIFT=${TRAVIS_BUILD_DIR}/ci/thrift-docker)
  • Tree
  • List 0
  • Changed 11
  • Source Changed 1
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 742
  • Travis Job 742.1
  • bd4f524b on github
  • Prev Job for THRIFT=${TRAVIS_BUILD_DIR}/ci/thrift-docker on thrift_tng (#739.2)
  • Next Job for THRIFT=${TRAVIS_BUILD_DIR}/ci/thrift-docker on thrift_tng (#747.2)
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