forked from TrueCloudLab/frostfs-node
Airat Arifullin
542d3adcb2
* Introduce grpc server for apemanager service and its implementation in `pkg/services/apemanager`. Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
11 lines
239 B
Go
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
|
|
}
|