diff --git a/pkg/serverconfigs/ossconfigs/oss_types.go b/pkg/serverconfigs/ossconfigs/oss_types.go index d02629c..d06b352 100644 --- a/pkg/serverconfigs/ossconfigs/oss_types.go +++ b/pkg/serverconfigs/ossconfigs/oss_types.go @@ -3,6 +3,8 @@ package ossconfigs +import "errors" + type OSSType = string type OSSTypeDefinition struct { @@ -26,5 +28,5 @@ func FindOSSType(code string) *OSSTypeDefinition { } func DecodeOSSOptions(ossType OSSType, optionsJSON []byte) (any, error) { - return nil, nil + return nil, errors.New("'" + ossType + "' has not been supported") }