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
Currently go-reddit uses the default error type in Go, which is just an interface with a string attribute. It would be helpful to create a custom error type that included more specific information such as response code or the specific ENUM error type.
The text was updated successfully, but these errors were encountered:
Hello! Thank you for opening this issue. Can you please provide an example? Some of the error types (here) contain an *http.Response instance which can be inspected if an error is returned.
Currently go-reddit uses the default error type in Go, which is just an interface with a string attribute. It would be helpful to create a custom error type that included more specific information such as response code or the specific ENUM error type.
The text was updated successfully, but these errors were encountered: