Can't catch exception occur during goaway frame
Open
package:http2
type-code-health
type-enhancement
- Dominant language
- Dart
- Stars
- 1.1k
- Forks
- 419
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 8
Description
Hello! Thanks for the lib). I ran into the following problem. When server send me goaway frame, StreamHandler class create following exception:
`StreamException(
id,
'Remote end was telling us to stop. This stream was not processed '
'and can therefore be retried (on a new connection).')`
This StreamException class is not provide outside the http2 lib. I can check this exception only if i directly import it:
`import 'package:http2/src/sync_errors.dart'`
But it is not cool providing class this way)
Maybe there is an any other way to check server send me goaway frame?
Contributor guide
Assessment
This issue has not been assessed yet.