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) }