I have ClassError enum as follows, and one of them can return the error message ExportError(Error) and the other one just the name. I wonder how to get
ClassError
ExportError(Error)