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

typhonius / acquia-php-sdk-v2
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: php73
DEFAULT BRANCH: master
Repo Added 18 Nov 2017 05:38AM CUT
Files 85
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

LAST BUILD ON BRANCH catch-api-errors
branch: catch-api-errors
CHANGE BRANCH
x
Reset
  • catch-api-errors
  • 1.0.0
  • 1.0.1
  • 1.0.4
  • 1.1
  • 1.1.0
  • 1.1.1
  • 1.1.2
  • 2.0
  • 2.0.0
  • 2.0.1
  • 2.0.10
  • 2.0.11
  • 2.0.12
  • 2.0.13
  • 2.0.14
  • 2.0.2
  • 2.0.3
  • 2.0.4
  • 2.0.5
  • 2.0.6
  • 2.0.7
  • 2.0.8
  • 2.0.9
  • 64-delete-database-backup
  • 7.4
  • add-account-method
  • add-getAdmin
  • add-links-to-operations
  • add-user-agent
  • alter-guzzle-options
  • better-api-errors
  • change-role-fixture
  • delete-cd-environment
  • download-db
  • drop-phpcs-version
  • drop-phpcs-version-and-unused-deps
  • fix-user-agent-string-application
  • funding
  • get-user
  • getEnvironment-fix
  • github-actions
  • hotfix-post-options
  • inheritdoc
  • issue-templates
  • logstream
  • master
  • move-options
  • new-coveralls-path
  • notifications
  • php73
  • phpcs-to-dev
  • phpmd
  • tests
  • token-expiration
  • truncateDB
  • try-phpdbg
  • typhonius-funding
  • update-dependencies
  • update-phpcs

pending completion
297

push

travis-ci

typhonius
Adds final test case and resends the Exception.

The reason I have chosen to throw an exception
instead of catching the exception and printing
a message is twofold.

Firstly, we cannot test the use of an exit()
or die() that would be required to catch the
error and present a message alerting the user
of the issue.

Secondly, by handling the error, it prevents
consumming libraries from easily detecting an
error has been thown and handling it gracefully.

Both of these reasons have lead me to determining
that Exceptions should be handled in code by
consuming libraries. I'll document this on the
README so users can handle the exceptions if they
wish. I'll also have to use this in Acquia Cli
and Acquia Logstream. I don't catch errors in
these at all right now so it would be an
enhancement!

1 of 1 new or added line in 1 file covered. (100.0%)

790 of 802 relevant lines covered (98.5%)

13.23 hits per line

Relevant lines Covered
Build:
Build:
802 RELEVANT LINES 790 COVERED LINES
13.23 HITS PER LINE
Source Files on catch-api-errors
  • List 0
  • Changed 10
  • Source Changed 1
  • Coverage Changed 10
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
No data available in table
Showing 0 to 0 of 0 entries
  • Previous
  • Next

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
297 catch-api-errors Adds final test case and resends the Exception. The reason I have chosen to throw an exception instead of catching the exception and printing a message is twofold. Firstly, we cannot test the use of an exit() or die() that would be required to c... push 08 Jan 2020 12:14PM CUT typhonius travis-ci pending completion  
298 catch-api-errors Adds final test case and resends the Exception. The reason I have chosen to throw an exception instead of catching the exception and printing a message is twofold. Firstly, we cannot test the use of an exit() or die() that would be required to c... Pull #39 08 Jan 2020 12:14PM CUT web-flow travis-ci pending completion  
296 catch-api-errors Cleans up indentation in tests. Pull #39 08 Jan 2020 09:50AM CUT web-flow travis-ci pending completion  
295 catch-api-errors Cleans up indentation in tests. push 08 Jan 2020 09:49AM CUT typhonius travis-ci pending completion  
293 catch-api-errors Extends Guzzle exception with ApiErrorException. push 08 Jan 2020 09:47AM CUT typhonius travis-ci pending completion  
294 catch-api-errors Extends Guzzle exception with ApiErrorException. Pull #39 08 Jan 2020 09:47AM CUT web-flow travis-ci pending completion  
291 catch-api-errors Extends Guzzle exception with ApiErrorException. push 08 Jan 2020 09:14AM CUT typhonius travis-ci pending completion  
292 catch-api-errors Extends Guzzle exception with ApiErrorException. Pull #39 08 Jan 2020 09:14AM CUT web-flow travis-ci pending completion  
288 catch-api-errors Catches API errors to display more cleanly. Pull #39 08 Jan 2020 04:26AM CUT web-flow travis-ci pending completion  
287 catch-api-errors Catches API errors to display more cleanly. push 08 Jan 2020 04:25AM CUT typhonius travis-ci pending completion  
See All Builds (688)
  • Repo on GitHub
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

© 2025 Coveralls, Inc