error vs indiscretion

error

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

  • 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. 

  • 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. 

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

  • To show or contain an error or fault. 

  • To err. 

indiscretion

noun
  • The quality or state of being indiscreet; lack of discretion 

  • An indiscreet or imprudent act; indiscreet behavior. 

  • A brief sexual liaison. 

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