forked from exercism/zig
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
exercises(triangle): simplify error set (exercism#218)
Before this commit, the `init` function needed to return the `InvalidInequality` error when the input sides violated the triangle inequality. This error had a strange name, and furthermore, the instructions did not explain degenerate triangles. So let's just combine the errors into a single error named `Invalid`. Closes: exercism#215
- Loading branch information
1 parent
1ae7dda
commit 4a4665a
Showing
2 changed files
with
7 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters