Handling errors
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- sqlite
- Domain
- databases
Research direction
Review the current start table and test.sql to understand how valid data is loaded and how the exercise currently presents database behavior. Decide which error-handling approach is appropriate for students and define test cases that make completion observable; the issue does not yet specify a file change or a settled expected outcome.
Written by the indexing model from the issue text.
Description
I have an idea for handling errors.
Normally you would deny faulty data to be inserted into the database before it happens.
Currently, we have a start table, that has valid data. We could change this method to insert one row after another and let the students create checks and catch the error message somehow.
I am unsure how obvious these error test cases would be for those who read our test.sql file.
As an alternative, we could ask them to clean erroneous data from the table and check if it is still there.
Do you have other ideas?
- Dominant language
- Jinja
- Stars
- 9
- Forks
- 15
- Avg merge
- 10h 5m
- Merged PRs (30d)
- 12
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from exercism/sqlite
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Foregones? Open
Difficulty 4/5 3-5 days Newbie friendliness 20/100
-
x:action/improve
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
TencentCloud/Octop#1128 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
silverstripe/silverstripe-framework#12022 · 2 comments ·