influxdb/session/errors.go

15 lines
272 B
Go

package session
import (
"github.com/influxdata/influxdb/v2"
)
var (
// ErrUnauthorized when a session request is unauthorized
// usually due to password mismatch
ErrUnauthorized = &influxdb.Error{
Code: influxdb.EUnauthorized,
Msg: "unauthorized access",
}
)