---types--- error#c4b9f9bb code:int text:string = Error
In Rust this constructor is a variant of the enums::Error enum. Match on it with: if let enums::Error::Error(v) = result { ... }
enums::Error
if let enums::Error::Error(v) = result { ... }