-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hand off parse error to error checker if one is available (#596)
* Hand off parse error to error checker if one is available * `evaluate_exercise()` finds global exercise error checking * Add tests * exercise$error_check might be null in testing scenarios * Errors in global setup code evaluation are now thrown as internal errors also duplicated in log messages * Better comments * Add internal exercise result error helper and don't grade setup errors - Internal error helper emits log messages via `message()` and an error exercise result with specificl language - `render_exercise()` catches setup and user code errors but returns an internal error if the error comes from the setup chunk(s) - The error condition of internal errors is returned under `$feedback$error` - Pass the original user code error to the error checker, rather than the wrapped error we use to signal the issue * A couple more code headings * Internal errors throw warnings instead of messages * Add news for #596 * Tweak NEWS.md * v0.10.1.9016
- Loading branch information
Showing
6 changed files
with
243 additions
and
56 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
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
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
Oops, something went wrong.