add minimal for showCodeError