Skip to content

Can't catch exception occur during goaway frame #1364

Description

@ViktorJasch

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    package:http2type-code-healthInternal changes to our tools and workflows to make them cleaner, simpler, or more maintainabletype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions