Skip to content

More descriptive error messages for partial failure of API call #21

@amydevs

Description

@amydevs

Specification

The PKNS is going to be able to return partial failures regarding the RPC responses of particular nodes. We want to be able to provide more descriptive messages for these errors on the frontend.

image

The current error messages will need to be replaced depending on whether:

  • PKNS backend is able to connect to the Polykey nodes
  • RPC call timed out
  • The RPC method doesn't exist on the Polykey agent

Additional context

PKND issue: https://gitlab.com/MatrixAI/Engineering/Polykey/Polykey-Network-Status/-/issues/5

Tasks

  1. Make use of ErrorBoundary Suspense components for loading and error states
  2. Provide better messages on the frontend regarding specific in the responses from PKNS

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions