Skip to content

Commit 0aca7d2

Browse files
committed
Update README.md
1 parent 7dba821 commit 0aca7d2

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ Always extend BaseExceptionCode — don’t subclass ExceptionCode directly!
253253
from api_exception import BaseExceptionCode
254254

255255
class CustomExceptionCode(BaseExceptionCode):
256-
USER_NOT_FOUND = ("USR-404", "User not found.", "User does not exist.")
256+
USER_NOT_FOUND = ("-404", "User not found.", "User does not exist.")
257257
INVALID_API_KEY = ("API-401", "Invalid API key.", "Key missing or invalid.")
258258
```
259259

@@ -319,8 +319,6 @@ logger.setLevel("DEBUG") # Set logging level
319319

320320
---
321321

322-
323-
324322
## Examples
325323

326324
### All in One Example Application
@@ -341,8 +339,6 @@ This example serves as a **one-stop reference** to see how `api_exception` can b
341339
[**Click to see the example**](https://github.com/akutayural/APIException/blob/main/examples/production_level.py)
342340

343341

344-
345-
346342
---
347343
## ✅ Testing Example
348344

@@ -409,6 +405,7 @@ This can be used as a foundation. Can be extended to include more detailed tests
409405
Benchmark scripts and raw Locust reports are available in the [benchmark](https://github.com/akutayural/APIException/tree/main/benchmark) directory.
410406

411407

408+
---
412409

413410
## 📜 Changelog
414411

0 commit comments

Comments
 (0)