exercism / exercism/sqlite

Handling errors

Open
#20 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jinja
Stars
9
Forks
15
Avg merge
18h 40m
Merged PRs (30d)
17

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.