2019-09-16 19:36:27 +00:00
|
|
|
package hub
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
|
|
|
var (
|
2020-01-26 14:29:11 +00:00
|
|
|
errorFailedToCreateRequest = errors.New("Failed to create http request")
|
|
|
|
errorFailedToParseJSON = errors.New("Failed to parse json")
|
|
|
|
errorFailedToParseURL = errors.New("Failed to parse url")
|
|
|
|
errorFailedToSendRequest = errors.New("Failed to send http request")
|
|
|
|
errorNoUserDefined = errors.New("No User defined")
|
|
|
|
errorNoPasswordDefined = errors.New("No Password defined")
|
|
|
|
errorNoNamespaceDefined = errors.New("No Namespace defined")
|
|
|
|
errorNoRepositoryDefined = errors.New("No Repository defined")
|
|
|
|
errorUnexpectedHTTPStatuscode = errors.New("Unexpected HTTP-Statuscode")
|
2019-09-16 19:36:27 +00:00
|
|
|
)
|