rspec/rules/S2737/javascript/code-example.adoc
Fred Tingaud ad4a486e52
Modify Rule S2737: LaYC catch rethrow
Co-authored-by: Amélie Renard <44666826+amelie-renard-sonarsource@users.noreply.github.com>
Co-authored-by: Dorian Burihabwa <75226315+dorian-burihabwa-sonarsource@users.noreply.github.com>
2023-06-22 14:04:34 +02:00

9 lines
99 B
Plaintext

[source,javascript]
----
try {
doSomething();
} catch (ex) { // Noncompliant
throw ex;
}
----