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

Wrong docs in sentry_link #2615

Open
ueman opened this issue Jan 24, 2025 · 0 comments
Open

Wrong docs in sentry_link #2615

ueman opened this issue Jan 24, 2025 · 0 comments

Comments

@ueman
Copy link
Collaborator

ueman commented Jan 24, 2025

Description

Hi there :)

I think theres a missing type in the "Additional graphql usage hints" section in the docs:

class OperationExceptionExtractor extends ExceptionCauseExtractor<T> {
  @override
  ExceptionCause? cause(T error) {
    return ExceptionCause(error.linkException, error.originalStackTrace);
  }
}

it seems that T should be OperationException instead

class OperationExceptionExtractor
    extends ExceptionCauseExtractor<OperationException> {
  @override
  ExceptionCause? cause(OperationException error) {
    return ExceptionCause(error.linkException, error.originalStackTrace);
  }
}

Originally reported at ueman/dart-packages#4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant