We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 801e6fd + 6c98b46 commit eead136Copy full SHA for eead136
1 file changed
cmd/runtimetest/main.go
@@ -68,7 +68,7 @@ func loadSpecConfig(path string) (spec *rspec.Spec, err error) {
68
cf, err := os.Open(configPath)
69
if err != nil {
70
if os.IsNotExist(err) {
71
- return nil, fmt.Errorf("%s not found", specConfig)
+ return nil, specerror.NewError(specerror.ConfigInRootBundleDir, err, rspec.Version)
72
}
73
74
return nil, err
0 commit comments