diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-11-27 11:50:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-12-10 16:44:55 +0200 |
commit | 1d0a198748c0e4aa1ce22ab2989a2b734f7d8948 (patch) | |
tree | 2c4b596214e19219ee570a04c8a412922caf0ea7 /mod/mod-ci-github-gq.hxx | |
parent | f5768fee9d0977a42f344cf0cfdae74ca80a23b9 (diff) |
Ensure all exceptions are handled in build_*() notifications
Diffstat (limited to 'mod/mod-ci-github-gq.hxx')
-rw-r--r-- | mod/mod-ci-github-gq.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mod/mod-ci-github-gq.hxx b/mod/mod-ci-github-gq.hxx index 86ab859..50950d4 100644 --- a/mod/mod-ci-github-gq.hxx +++ b/mod/mod-ci-github-gq.hxx @@ -24,7 +24,8 @@ namespace brep // `check_runs` with the new data (node id and state_synced). Return false // and issue diagnostics if the request failed. // - // Throw invalid_argument. + // Throw invalid_argument if the passed data is invalid, missing, or + // inconsistent. // // Note that creating a check_run named `foo` will effectively replace any // existing check_runs with that name. They will still exist on the GitHub @@ -42,7 +43,8 @@ namespace brep // data (node id, state, and state_synced). Return false and issue // diagnostics if the request failed. // - // Throw invalid_argument. + // Throw invalid_argument if the passed data is invalid, missing, or + // inconsistent. // // If the details_url is absent GitHub will use the app's homepage. // @@ -70,7 +72,8 @@ namespace brep // Update a check run on GitHub. Update `cr` with the new data (state and // state_synced). Return false and issue diagnostics if the request failed. // - // Throw invalid_argument. + // Throw invalid_argument if the passed data is invalid, missing, or + // inconsistent. // // Note that GitHub allows any state transitions except from built (but // built to built is allowed). The latter case is signalled by setting the |