Add comment for ErrNoToken
This commit is contained in:
parent
afa9507ee2
commit
4711b2b160
1
lemmy.go
1
lemmy.go
@ -12,6 +12,7 @@ import (
|
|||||||
"github.com/google/go-querystring/query"
|
"github.com/google/go-querystring/query"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// ErrNoToken is an error returned by ClientLogin if the server sends a null or empty token
|
||||||
var ErrNoToken = errors.New("the server didn't provide a token value in its response")
|
var ErrNoToken = errors.New("the server didn't provide a token value in its response")
|
||||||
|
|
||||||
// Client is a client for Lemmy's HTTP API
|
// Client is a client for Lemmy's HTTP API
|
||||||
|
Loading…
Reference in New Issue
Block a user