frostfs-node/pkg/services/apemanager/errors/errors.go
Airat Arifullin 542d3adcb2 [#1105] apemanager: Implement apemanager service
* Introduce grpc server for apemanager service and
  its implementation in `pkg/services/apemanager`.

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-05-27 09:34:21 +00:00

11 lines
239 B
Go

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
}