diff --git a/restapi.go b/restapi.go index 104964c..f191c74 100644 --- a/restapi.go +++ b/restapi.go @@ -25,6 +25,7 @@ import ( "time" ) +// Error returned for unmarshal errors. var ErrJSONUnmarshal = errors.New("json unmarshal") // Request makes a (GET/POST/...) Requests to Discord REST API.