forked from TrueCloudLab/frostfs-node
12 lines
239 B
Go
12 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
|
||
|
}
|