Skip to content

Improve API error classification for resource fetch failures #280

@digitalghost-dev

Description

@digitalghost-dev

Currently fetchEndpoint() reports all API failures as “not found,” even for network errors, server errors, or malformed API responses.

Adding typed/classified error handling so only 404s use the not-found message, while 5xx, network, and unexpected-data failures get
accurate user-facing errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorRefactoring existing code.

    Projects

    Status

    Completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions