Can print "developer" error message to console, and return a "user-friendly" error message to the front-end