MLBEDSW-2066 Improve Exception messages

Minor refactoring to use fstrings.
Improve Error classes to correctly inherit the base class.
Use existing exception classes instead of plain exceptions where it
makes sense.

Signed-off-by: Michael McGeagh <michael.mcgeagh@arm.com>
Change-Id: I0941c04e91010da1db77299517a8e2d896371e77
diff --git a/ethosu/vela/tflite_reader.py b/ethosu/vela/tflite_reader.py
index df52478..eff702b 100644
--- a/ethosu/vela/tflite_reader.py
+++ b/ethosu/vela/tflite_reader.py
@@ -264,8 +264,9 @@
     def parse_operator_code(self, code):
         c = code.BuiltinCode()
         if c not in builtin_operator_map:
-            msg = "The input file contains operator code {} which is currently not supported".format(c)
-            raise InputFileError(self.name, msg)
+            raise InputFileError(
+                self.name, f"The input file contains operator code '{c}' which is currently not supported"
+            )
         op_type, ser = builtin_operator_map[c]
         custom_code = None
         if c == BuiltinOperator.CUSTOM: