> but it should be treated as an opaque structure for compatibility > > ::rvterr code $err_object > <== > redirect > ::rvterr exists location > <== 1 > ::rvterr get var1 > <== > <url> > > the dictionary itself is good but it doesn't encourage standardization > and compatibility if it's not concealed within some interface
If you really, really want to create a separate command for checking errors, then ::rivet::err seems the likely candidate. This is Tcl, we’re not here to save a couple extra vowels. :) That said, I don’t really know that you need it. Tcl’s ::errorCode variable is exactly what we’re talking about here, and it’s nothing more than a list with a CODE + some extras. Returning a dict is a perfectly Tcl’ish thing to do. D --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
