Skip to content

Should error be separate event? #3

@xbwwj

Description

@xbwwj

It's clear that we will take a two stage response handling. Handling reqwest error twice looks weird and cumbersome.

Two options:

  1. Separate ResponseError Event.
  2. Split the error into NetworkError and GetContentError.

But for second option, the .bytes() also involves network.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions