\def\tablexrule{\dodoubleargument\dotablexrule}\def\dotablexrule[#1][#2]{%
\doifemptyelse{#2}%
{\dodotablexrule[#1][\@@tbxframecolor]}%
{\dodotablexrule[#1][#2]}%
}
\def\dodotablexrule[#1][#2]{\noalign{\color[#2]{\hrule height#1 depth\z@}}}
I get the error: