Skip to content

Error Handling #5

@NicholasLYang

Description

@NicholasLYang

I need better error handling for Apollo. Basically if a bad request is made, some sort of error component needs to pop up. Read up on Apollo docs on errors. Then, create a component that A. says there's an error (feel free to steal artwork from CFA if you feel like it), B. offers a button to reload the page (with the same url and search params), and C. gives the full error message from the server if you click on a button (just some simple react state should work to toggle). For C, reference Passenger errors like this:

screen shot 2017-12-24 at 2 45 15 am

Btw, the actual error screen can be seen here (unless I manage to fix my other deployment problems lol)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions