feat: implemented test poller
This commit is contained in:
1 parent
6af79d8cda
commit
a78e9927bc
3 files changed
+29
-7
No files matched your search
+3
-3
@@ -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,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user