- If favouriting fails for any reason we should show an error toast to the user to tell them the error has failed.
- Usually there is a reason sent for the failed rest call and this is safe to send to the user as a toast message.
- The toast should use the failure style
You can make favouriting fail by:
- Create a multibranch pipeline with no branches
- Go to the dashboard
- Favourite the pipeline
REST call will fail with: