You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`go-restclient` defines `restclient.RequestError` interface to cover all the errors that can be returned
224
224
from `restclient.RequestBuilder.Build()` and result of the HTTP calls. The top level errors returned by the client can
225
-
be seen in [errors.go](). The methods that can be used within the boundaries of `restclient.RequestError` are as
226
-
follows:
225
+
be seen
226
+
in [errors.go](https://github.com/ysyesilyurt/go-restclient/blob/bc71e1bf147e9293635583edbca00e5db08dd7d5/restclient/errors.go#L9)
227
+
. The methods that can be used within the boundaries of `restclient.RequestError` are as follows:
227
228
228
229
```
229
230
type RequestError interface {
@@ -242,12 +243,14 @@ type RequestError interface {
242
243
243
244
## Legacy Version
244
245
245
-
You can also use the legacy version which is located on [`legacy` branch]() if you want to use `go-restclient` using
246
+
You can also use the legacy version which is located
247
+
on [`legacy` branch](https://github.com/ysyesilyurt/go-restclient/tree/legacy) if you want to use `go-restclient` using
246
248
traditional ways (with constructing the helper objects and using those altogether blah blah...) or if you want to use a
247
249
version that allows reusing the HTTP clients that's being used internally for sending the requests (Thanks to separation
248
250
of these objects, this legacy version of `go-restclient` gives you the slightly extended feature set like _separation of
249
-
client timeouts and request-specific timeouts_ and etc.). But all in all, I think the builder version is more handy and
250
-
elegant so I just wanted to keep builder version on the master branch.
251
+
client timeouts and request-specific timeouts_ and etc.). You can find more information about the version itself and its
252
+
usage from [here](https://github.com/ysyesilyurt/go-restclient/tree/legacy#go-restclient-legacy-version). But all in all, I think the builder version is more handy and elegant so I just wanted to keep
0 commit comments