---
source: crates/ruff_linter/src/rules/tryceratops/mod.rs
---
TRY203 Remove exception handler; error is immediately re-raised
  --> TRY203.py:12:5
   |
10 |       try:
11 |           process()
12 | /     except Exception:
13 | |         raise
   | |_____________^
14 |
15 |   def bad():
   |

TRY203 Remove exception handler; error is immediately re-raised
  --> TRY203.py:18:5
   |
16 |       try:
17 |           process()
18 | /     except Exception:
19 | |         raise
20 | |         print("this code is pointless!")
   | |________________________________________^
21 |
22 |   def bad():
   |

TRY203 Remove exception handler; error is immediately re-raised
  --> TRY203.py:25:5
   |
23 |       try:
24 |           process()
25 | /     except:
26 | |         # I am a comment, not a statement!
27 | |         raise
   | |_____________^
28 |
29 |   def bad():
   |

TRY203 Remove exception handler; error is immediately re-raised
  --> TRY203.py:32:5
   |
30 |       try:
31 |           process()
32 | /     except Exception:
33 | |         raise
   | |_____________^
34 |
35 |   def bad():
   |

TRY203 Remove exception handler; error is immediately re-raised
  --> TRY203.py:38:5
   |
36 |       try:
37 |           process()
38 | /     except Exception as e:
39 | |         raise
   | |_____________^
40 |
41 |   def bad():
   |

TRY203 Remove exception handler; error is immediately re-raised
  --> TRY203.py:44:5
   |
42 |       try:
43 |           process()
44 | /     except Exception as e:
45 | |         raise e
   | |_______________^
46 |
47 |   def bad():
   |

TRY203 Remove exception handler; error is immediately re-raised
  --> TRY203.py:50:5
   |
48 |       try:
49 |           process()
50 | /     except MyException:
51 | |         raise
   | |_____________^
52 |       except Exception:
53 |           raise
   |

TRY203 Remove exception handler; error is immediately re-raised
  --> TRY203.py:52:5
   |
50 |       except MyException:
51 |           raise
52 | /     except Exception:
53 | |         raise
   | |_____________^
54 |
55 |   def bad():
   |

TRY203 Remove exception handler; error is immediately re-raised
  --> TRY203.py:58:5
   |
56 |       try:
57 |           process()
58 | /     except MyException as e:
59 | |         raise e
   | |_______________^
60 |       except Exception as e:
61 |           raise e
   |

TRY203 Remove exception handler; error is immediately re-raised
  --> TRY203.py:60:5
   |
58 |       except MyException as e:
59 |           raise e
60 | /     except Exception as e:
61 | |         raise e
   | |_______________^
62 |
63 |   def bad():
   |

TRY203 Remove exception handler; error is immediately re-raised
  --> TRY203.py:66:5
   |
64 |       try:
65 |           process()
66 | /     except MyException as ex:
67 | |         raise ex
   | |________________^
68 |       except Exception as e:
69 |           raise e
   |

TRY203 Remove exception handler; error is immediately re-raised
  --> TRY203.py:68:5
   |
66 |       except MyException as ex:
67 |           raise ex
68 | /     except Exception as e:
69 | |         raise e
   | |_______________^
70 |
71 |   def fine():
   |
