app/attribute/errors.go

20 lines
367 B
Go

package attribute
import (
"net/http"
"kumoly.io/kumoly/app/errors"
)
var ErrorAttributeNotFound = errors.Error{
Code: http.StatusNotFound,
ID: "ErrorTokenNotValid",
Message: "Attribute not found",
}
var ErrorInitializationFail = errors.Error{
Code: http.StatusNotFound,
ID: "ErrorInitializationFail",
Message: "Database not connected",
}