aboutsummaryrefslogblamecommitdiffstats
path: root/api/auth/errors.go
blob: 9675afbf4d62c5e8d5badab729917009e86b737f (plain) (tree)
1
2
3
4
5
6
            




                                                                                                                                         
package auth

import "errors"

// ErrNotAuthenticated is returned to the client if the user requests an action requiring authentication, and they are not authenticated.
var ErrNotAuthenticated = errors.New("not authenticated or read-only")