update error handling to return "none" for all but the most severe of errors