feat: implemented test poller

This commit is contained in:
abelith committed 2026-10-06 13:51:00 +03:00
1 parent 6af79d8cda
commit a78e9927bc
3 files changed
+29 -7

No files matched your search

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