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

source-academy / stories-backend / 5586968287
47%

Build:
DEFAULT BRANCH: main
Ran 18 Jul 2023 11:43AM UTC
Jobs 1
Files 7
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

18 Jul 2023 11:42AM UTC coverage: 60.976% (-3.5%) from 64.516%
5586968287

push

github

web-flow
Add basic error handling framework and 404 handling (#50)

* Create basic ClientError type

* Add 404 error type

* Rename errors package to apierrors

Prevents conflicts with Golang's default errors package.

* Use value receiver for 404 error

Done in order to satisfy the error interface.

* Fix field visibility

* Create DB error handler

* Raise error when read user not found

* Modify model function signature to also return error
* Handle error in controller

* Create API error handler

* Return 404 when user read not found

* Update users' read handler signature to return errors
* Do not panic on controller error
* Wrap controller with API error handler to show correct status code

* Update error message

* Add TODO

100 of 164 relevant lines covered (60.98%)

0.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5586968287.1 18 Jul 2023 11:43AM UTC 7
60.98
GitHub Action Run
Source Files on build 5586968287
  • Tree
  • List 7
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #5586968287
  • c9439a91 on github
  • Prev Build on main (#5583272320)
  • Next Build on main (#5586991593)
  • Delete
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