From 4711b2b1609b482ad2b7d5a8bea0b2d85e18042a Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Wed, 4 Oct 2023 17:14:28 -0700 Subject: [PATCH] Add comment for ErrNoToken --- lemmy.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lemmy.go b/lemmy.go index 7cff447..6d00dff 100644 --- a/lemmy.go +++ b/lemmy.go @@ -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