-
Notifications
You must be signed in to change notification settings - Fork 36
Better distinguish error categories using different exit codes #648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
8594a7e
f826ca9
ee43d36
f94920f
bcddbbe
c3ec785
9aec98d
15a50be
250be1c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -276,7 +276,7 @@ auto sourcemeta::jsonschema::lint(const sourcemeta::core::Options &options) | |
| std::cerr << "\n"; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: The PR description states these paths should return exit code 3. However, (Based on your team's feedback about reusing centralized error wrappers.) Prompt for AI agents |
||
| } | ||
|
|
||
| throw FileError< | ||
| throw FileError< | ||
| sourcemeta::blaze::CompilerReferenceTargetNotSchemaError>( | ||
| entry.first, error); | ||
| } catch (const sourcemeta::core::SchemaKeywordError &error) { | ||
|
|
@@ -380,7 +380,7 @@ auto sourcemeta::jsonschema::lint(const sourcemeta::core::Options &options) | |
| } catch ( | ||
| const sourcemeta::blaze::CompilerReferenceTargetNotSchemaError | ||
| &error) { | ||
| throw FileError< | ||
| throw FileError< | ||
| sourcemeta::blaze::CompilerReferenceTargetNotSchemaError>( | ||
| entry.first, error); | ||
| } catch (const sourcemeta::core::SchemaKeywordError &error) { | ||
|
|
||
|
RitoG09 marked this conversation as resolved.
|
Uh oh!
There was an error while loading. Please reload this page.