chore: moved packages to v1

This commit is contained in:
abelith committed 2026-10-06 13:40:54 +03:00
1 parent 522ba1b639
commit 43e3a8a397
15 files changed
+26 -14

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
package errors
type GomaxError struct {
Message string
Err error
}
func (ge *GomaxError) Error() string {
return ge.Err.Error()
}
func New(parent error, text string) error {
return &GomaxError{
Message: text,
Err: parent,
}
}