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

Specific error class for missing attribute accesors. #30

Open
tomasmiguez opened this issue Oct 25, 2024 · 0 comments
Open

Specific error class for missing attribute accesors. #30

tomasmiguez opened this issue Oct 25, 2024 · 0 comments

Comments

@tomasmiguez
Copy link

Hi there, we are currently having an issue with the initialization logic. As a send is used with the passed attributes, when some received attribute is not declared as an attribute accesor, a NoMethodError is raised. This used to be fine, but as the application in which wi use Scrivener grew, this errors became more common and started masking really critical NoMethodErrors.
It would be great if a configuration could be introduced to raise a custom Scrivener exception instead of the generic one.
I wouldn't mind iterating a PR if a mantainer validates this approach.

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