Issue summary
Convert the function getErrorElement in trips-container.js to component in the Error directory once PR #77 is merged.
Expected behavior
When an error occurs in grabbing the trips container, set the state of trips to a new error component created from getErrorElement.
Actual behavior
When an error occurs in grabbing the trips container, set the state of of trips to the result of the function call to getErrorElement.