Project: datamanagement
Issue DM-1980: Add error handling for webserv
Add basic error handling for the RESTful flask-based API
Story points: 6