Skip to content

Conversation

@alexanderpann
Copy link
Contributor

This PR is a prerequisite for the next PR that will follow.

The UI was polished and there are now different kinds of checks: generic, module, model, root node and node checks which all have different parameters and return type. The old kind of check is the generic check:
Screenshot 2024-08-29 at 13 08 40
Exceptions are now handled by default by the linter itself. You can still handle it yourself and/or forward the message to the results and the error log with the new forwardException expression:
Screenshot 2024-08-29 at 13 21 59

@alexanderpann alexanderpann force-pushed the feature/linter_ui_and_separate_check_types branch from e32ba81 to 38eb19a Compare August 29, 2024 11:27
@alexanderpann alexanderpann force-pushed the feature/linter_ui_and_separate_check_types branch from 38eb19a to 4a2d2e0 Compare August 29, 2024 12:08
Copy link
Member

@sergej-koscejev sergej-koscejev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the name forwardException is ambiguous, I expected the exception to be re-thrown but instead the construct formats it as a string, so formatException would have been a better name.

LGTM otherwise.

@alexanderpann alexanderpann force-pushed the feature/linter_ui_and_separate_check_types branch from 8ff45aa to 58b8e46 Compare August 29, 2024 15:04
@alexanderpann alexanderpann merged commit 1d344df into maintenance/MPS-2022.3 Aug 29, 2024
@alexanderpann alexanderpann deleted the feature/linter_ui_and_separate_check_types branch August 29, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants