github.com/anfernee/terraform@v0.6.16-0.20160430000239-06e5085a92f2/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 }