github.com/jrasell/terraform@v0.6.17-0.20160523115548-2652f5232949/helper/resource/error.go (about) 1 package resource 2 3 type NotFoundError struct { 4 LastError error 5 LastRequest interface{} 6 LastResponse interface{} 7 Message string 8 Retries int 9 } 10 11 func (e *NotFoundError) Error() string { 12 if e.Message != "" { 13 return e.Message 14 } 15 16 return "couldn't find resource" 17 }