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

vdk-core: create ingestion exceptions #2752

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

antoniivanov
Copy link
Collaborator

@antoniivanov antoniivanov commented Oct 3, 2023

Replacing generic exception names like DomainError, UserCodeError, , and PlatformServiceError with more domain-specific exceptions (in this case the domain being ingestion) can offer differnet benefits

See #2682

VdkConfigurationError is not changed as it's pretty clear for now. I am wondering if it still might not be better ot have IngsetionConfigurationException but could not decide and omit it from this change.

TODO: I still need to test with "real" like job that fails in some of those ways and see what is the difference in logs and in how the exception can be handled

@antoniivanov antoniivanov force-pushed the person/aivanov/vdk-core-errors branch 2 times, most recently from 897bee4 to a398195 Compare October 4, 2023 07:46
@antoniivanov antoniivanov force-pushed the person/aivanov/vdk-core-errors branch from a398195 to 5ea9c1a Compare October 4, 2023 10:54
Replacing generic exception names like DomainError, UserCodeError, , and
PlatformServiceError with more domain-specific exceptions (in this case
the domain being ingestion) can offer differnet benefits

See #2682

VdkConfigurationError is not changed as it's pretty clear for now.
I am wondering if it still might not be better ot have
IngsetionConfigurationException but could not decide and omit it from
this change.
@antoniivanov antoniivanov force-pushed the person/aivanov/vdk-core-errors branch from 5ea9c1a to 66fefef Compare October 4, 2023 12:56
@antoniivanov antoniivanov merged commit 634febe into main Oct 4, 2023
@antoniivanov antoniivanov deleted the person/aivanov/vdk-core-errors branch October 4, 2023 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants