frostfs-sdk-go/client/status/unrecognized.go

19 lines
395 B
Go
Raw Normal View History

package apistatus
import (
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/api/status"
)
type unrecognizedStatusV2 struct {
v2 status.Status
}
func (x *unrecognizedStatusV2) Error() string {
return errMessageStatusV2("unrecognized", x.v2.Message())
}
// implements local interface defined in FromStatusV2 func.
func (x *unrecognizedStatusV2) fromStatusV2(st *status.Status) {
x.v2 = *st
}