pub fn error_code(expected: &str) -> Result<String>Expand description
The code from an error expectation: ERROR:unexpected gives
unexpected, and a bare ERROR gives "" (meaning “any code”). A
trailing @<row>:<col> is a position expectation and is NOT part of
the code; see error_expect. An error when handed a cell that is
not an error expectation at all.