Closed tigarmo closed 1 week ago
This PR contains multiple "small" improvements/fixes related to error handling and reporting. Each change is in a separate commit. They are:
CraftValidationError
from_yaml_data()
The PR is currently failing because it needs https://github.com/canonical/craft-cli/pull/257
This PR contains multiple "small" improvements/fixes related to error handling and reporting. Each change is in a separate commit. They are:
CraftValidationError
from validators - raise ValueError, TypeError, etc instead;from_yaml_data()
in the BuildPlanner so that error translation/prettifying happens;The PR is currently failing because it needs https://github.com/canonical/craft-cli/pull/257