---
source: crates/ruff_linter/src/rules/tryceratops/mod.rs
---
TRY002.py:13:15: TRY002 Create your own exception
   |
11 |     a = 1
12 |     if a == 1:
13 |         raise Exception("Custom message")
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^ TRY002
14 | 
15 |     b = 1
   |

TRY002.py:17:15: TRY002 Create your own exception
   |
15 |     b = 1
16 |     if b == 1:
17 |         raise Exception
   |               ^^^^^^^^^ TRY002
   |


