Logo
Explore Help
Register Sign In
ishangsf/rspec
2
0
Fork 0
You've already forked rspec
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
rspec/rules/S2737/swift/code-example.adoc

9 lines
103 B
Plaintext
Raw Normal View History

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
[source,swift]
----
do {
try loadImage(imagePath)
} catch { // Noncompliant
throw error
}
----
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 1247ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API