mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-05-11 00:03:27 -04:00
18 lines
281 B
Go
18 lines
281 B
Go
package resource
|
|
|
|
type NotFoundError struct {
|
|
LastError error
|
|
LastRequest interface{}
|
|
LastResponse interface{}
|
|
Message string
|
|
Retries int
|
|
}
|
|
|
|
func (e *NotFoundError) Error() string {
|
|
if e.Message != "" {
|
|
return e.Message
|
|
}
|
|
|
|
return "couldn't find resource"
|
|
}
|