Split contract package

This commit is contained in:
2025-08-12 14:19:42 +03:00
parent e1cb261570
commit bb3247d391
3 changed files with 31 additions and 28 deletions

View File

@@ -0,0 +1,12 @@
package contract
import "fmt"
type JobNotFoundError struct {
State string
Message string
}
func (e *JobNotFoundError) Error() string {
return fmt.Sprintf("%s - %s", e.State, e.Message)
}