app/attribute/errors.go

20 lines
367 B
Go
Raw Normal View History

2021-12-18 17:37:44 +00:00
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",
}