docs/content/en/methods/resource/Err.md
raw| 1 | --- |
| 2 | title: Err |
| 3 | description: Applicable to resources returned by the resources.GetRemote function, returns an error message if the HTTP request fails, else nil. |
| 4 | categories: [] |
| 5 | keywords: [] |
| 6 | params: |
| 7 | functions_and_methods: |
| 8 | returnType: resource.resourceError |
| 9 | signatures: [RESOURCE.Err] |
| 10 | expiryDate: 2027-01-16 # deprecated 2025-01-16 in v0.141.0 |
| 11 | --- |
| 12 | |
| 13 | {{< deprecated-in 0.141.0 >}} |
| 14 | Use the [`try`](/functions/go-template/try/) statement instead. |
| 15 | {{< /deprecated-in >}} |