Use std::error:Error for cfg module error reporting.