Skip to content
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

Is it possible to customize error classes or add new ones? #1613

Open
KatiRG opened this issue Dec 11, 2023 · 0 comments
Open

Is it possible to customize error classes or add new ones? #1613

KatiRG opened this issue Dec 11, 2023 · 0 comments

Comments

@KatiRG
Copy link

KatiRG commented Dec 11, 2023

Overview

We are using the ckanext-validation extension that uses frictionless as the core validation checker. We needed to add more frictionless error classes to e.g. https://github.com/frictionlessdata/frictionless-py/blob/main/frictionless/errors/label.py. Also, we would like to modify the error message texts in some of the existing classes.

Can you recommend a way to deal with such modifications? Perhaps allowing the description and template fields of an error class to be passed as optional arguments to override the default messages? Happy to contribute if this kind of generalization would be useful to the wider community.

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

No branches or pull requests

1 participant