Updated error route and view to use an array of errors rather than a single error.