Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add better user-facing error messages #243

Merged
merged 14 commits into from
Mar 22, 2016
Merged

Add better user-facing error messages #243

merged 14 commits into from
Mar 22, 2016

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Mar 22, 2016

title: "Failed to load event",
description: msg,
title: "Failed to load timeline position",
description: "Vector was trying to load a specific point in this room's timeline but was unable to find it.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we probably need to distinguish between 404 and 403 here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can see, the context API never returns 403, although I might have missed somewhere. Would you expect that to be if you don't have permission to view the event in question?

@richvdh richvdh assigned dbkr and unassigned richvdh Mar 22, 2016
@dbkr
Copy link
Member Author

dbkr commented Mar 22, 2016

ptal

@dbkr dbkr assigned richvdh and unassigned dbkr Mar 22, 2016
@richvdh
Copy link
Member

richvdh commented Mar 22, 2016

lgtm

@richvdh richvdh assigned dbkr and unassigned richvdh Mar 22, 2016
dbkr added a commit that referenced this pull request Mar 22, 2016
Add better user-facing error messages
@dbkr dbkr merged commit abe4df5 into develop Mar 22, 2016
@richvdh richvdh deleted the dbkr/error_messages branch February 15, 2017 13:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants