generic flash errors (closes #57).