Add FREEDM exceptions

Handle FREEDM exceptions in main