ErrorMessage Component
I added a custom error message component which is just a red box with the given error message and an error icon.
In StockPage
I then display said component if an error occurs. This includes handling some common cases like the server not responding.