github.com/mponton/terratest@v0.44.0/modules/files/errors.go (about) 1 package files 2 3 import "fmt" 4 5 // DirNotFoundError is an error that occurs if a directory doesn't exist 6 type DirNotFoundError struct { 7 Directory string 8 } 9 10 func (err DirNotFoundError) Error() string { 11 return fmt.Sprintf("Directory was not found: \"%s\"", err.Directory) 12 }