in the wake of Damon's proposal for an extensible model error codes I
thought to wrap the creation dictionary in a new command ensemble
::rvterr or ::riveterr

 ::rvterr create <code> ?var1 value1? ?var2 value2?

 set err_obj [::rvterr create redirect location [headers set Location]]

as a first implementation the command would return the dictionary

error_code redirect location <url>

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

 -- Massimo

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to