feat: initial commit
This commit is contained in:
commit
b802ff49ab
454 files changed
+52429
No files matched your search
@@ -0,0 +1,10 @@
|
||||
---
|
||||
alwaysApply: false
|
||||
---
|
||||
|
||||
# Error Handling Rules
|
||||
- Always return errors instead of panicking (except in `main` or tests).
|
||||
- Wrap errors with `%w` when using `fmt.Errorf` for context.
|
||||
- Do not ignore errors; handle or log them explicitly.
|
||||
- Use sentinel errors or `errors.Is` / `errors.As` for checking.
|
||||
|
||||
Reference in new issue
Block a user