error vs flaw

error

verb
  • To show or contain an error or fault. 

  • To function improperly due to an error, especially accompanied by error message. 

  • To err. 

noun
  • Sin; transgression. 

  • One or more mistakes in a trial that could be grounds for review of the judgement. 

  • Any alteration in the DNA chemical structure occurring during DNA replication, recombination or repairing. 

  • The state, quality, or condition of being wrong. 

  • A mistake; an accidental wrong action or a false statement not made deliberately. 

  • A failure to complete a task, usually involving a premature termination. 

  • A play which is scored as having been made incorrectly. 

  • The difference between a measured or calculated value and a true one. 

flaw

verb
  • To add a flaw to, to make imperfect or defective. 

  • To become imperfect or defective; to crack or break. 

noun
  • A storm of short duration. 

  • An inclusion, stain, or other defect of a diamond or other gemstone. 

  • A sudden burst of noise and disorder 

  • A crack or breach, a gap or fissure; a defect of continuity or cohesion. 

  • A defect or error in a contract or other document which may make the document invalid or ineffective. 

  • A defect, fault, or imperfection, especially one that is hidden. 

  • A sudden burst or gust of wind of short duration; windflaw. 

How often have the words error and flaw occurred in a corpus of books? (source: Google Ngram Viewer )