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

chore(core)!: Align CloudException interface with stdlib. #213

Merged

Conversation

dnys1
Copy link
Member

@dnys1 dnys1 commented Oct 14, 2024

Celest vends its own UnimplementedError type which conforms to CloudException but it previously had a different interface than the dart:core type so if you imported Celest, any UnimplementedError() clauses would need to be changed. This aligns all exception type interfaces to avoid needing to pass explicit null to their constructors.

Also fixes the CloudException.http and CloudException.grpc factories to pass all parameters to delegated constructors.

Celest vends its own `UnimplementedError` type which conforms to `CloudException` but it previously had a different interface than the `dart:core` type so if you imported Celest, any `UnimplementedError()` clauses would need to be changed. This aligns all exception type interfaces to avoid needing to pass explicit `null` to their constructors.

Also fixes the `CloudException.http` and `CloudException.grpc` factories to pass all parameters to delegated constructors.
Copy link
Member Author

dnys1 commented Oct 14, 2024

Copy link
Member Author

dnys1 commented Oct 14, 2024

Merge activity

  • Oct 14, 2:47 PM PDT: A user started a stack merge that includes this pull request via Graphite.
  • Oct 14, 2:47 PM PDT: A user merged this pull request with Graphite.

@dnys1 dnys1 merged commit 1adbe8b into main Oct 14, 2024
3 of 5 checks passed
@dnys1 dnys1 deleted the 10-12-chore_core_align_cloudexception_interface_with_stdlib branch October 14, 2024 21:47
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.

2 participants