CenterForDigitalHumanities / CenterForDigitalHumanities/TPEN-services
Error Handling and Throwing with databaseTiny
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Investigate how errors are caught, handled, or thrown in database/tiny/controller.js.
Then investigate the databaseTiny usages in the following files
- classes/Layer/Layer.js
- classes/Page/Page.js
- classes/Line/Line.js
- utilities/shared.js
Errors should be caught, handled, and thrown forward consistently so that routes can respond to clients according to RESTful best practices.
Contributor guide
Research direction
Start by reading database/tiny/controller.js, then trace databaseTiny usage in classes/Layer/Layer.js, classes/Page/Page.js, classes/Line/Line.js, and utilities/shared.js. Compare how each location catches, handles, or forwards errors and identify the existing route response flow. Done means error behavior is consistent across these usages and routes respond according to the stated RESTful expectations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend, databases
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100