provide exceptions from database to client