Add comment for ErrNoToken

This commit is contained in:
Elara 2023-10-04 17:14:28 -07:00
parent afa9507ee2
commit 4711b2b160
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ import (
"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")
// Client is a client for Lemmy's HTTP API