I'm trying to update my code for the latest Nim, and I'm hitting a weird error:
    
    
    228                 except Exception as exc:
    229                     let name: string = exc.name
    
    t_raptor_db.nim(229, 43) Error: type mismatch: got <cstring> but expected 
'string'
    
    
    Run

I'm trying to compare with the name of the exception. Why am I unable to 
convert from "cstring" to "string"?

Reply via email to