Updated flash tech to support new errors