Catch all exceptions and return an error message in every situation.