Catalog: Show install error with incompatible version (#65059)
This commit is contained in:
@@ -53,6 +53,15 @@ func (e Response4xxError) Error() string {
|
||||
return fmt.Sprintf("%d", e.StatusCode)
|
||||
}
|
||||
|
||||
type ErrArcNotFound struct {
|
||||
PluginID string
|
||||
SystemInfo string
|
||||
}
|
||||
|
||||
func (e ErrArcNotFound) Error() string {
|
||||
return fmt.Sprintf("%s is not compatible with your system architecture: %s", e.PluginID, e.SystemInfo)
|
||||
}
|
||||
|
||||
type ErrVersionUnsupported struct {
|
||||
PluginID string
|
||||
RequestedVersion string
|
||||
|
||||
Reference in New Issue
Block a user