2020-07-07 21:57:52 +00:00
|
|
|
package errors
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
|
|
|
var (
|
2021-09-20 00:14:22 +00:00
|
|
|
// ErrEndpointAccessDenied Access denied to environment(endpoint) error
|
2021-09-08 08:42:17 +00:00
|
|
|
ErrEndpointAccessDenied = errors.New("Access denied to environment")
|
2020-07-07 21:57:52 +00:00
|
|
|
// ErrUnauthorized Unauthorized error
|
|
|
|
ErrUnauthorized = errors.New("Unauthorized")
|
|
|
|
// ErrResourceAccessDenied Access denied to resource error
|
|
|
|
ErrResourceAccessDenied = errors.New("Access denied to resource")
|
2022-05-22 05:34:09 +00:00
|
|
|
// ErrNotAvailableInDemo feature is not allowed in demo
|
|
|
|
ErrNotAvailableInDemo = errors.New("This feature is not available in the demo version of Portainer")
|
2020-07-07 21:57:52 +00:00
|
|
|
)
|