javascript comment augmenter l'erreur

  if (..condition..) {
    throw 'Error message';
  }
Smiling Stoat