frostfs-node/pkg/services/apemanager/errors/errors.go

12 lines
239 B
Go
Raw Normal View History

package errors
import (
apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status"
)
func ErrAPEManagerAccessDenied(reason string) error {
err := new(apistatus.APEManagerAccessDenied)
err.WriteReason(reason)
return err
}