2020-05-11 21:04:11 +00:00
|
|
|
package session
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/influxdata/influxdb/v2"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
// ErrUnauthorized when a session request is unauthorized
|
2020-11-11 18:54:21 +00:00
|
|
|
// usually due to password mismatch
|
2020-05-11 21:04:11 +00:00
|
|
|
ErrUnauthorized = &influxdb.Error{
|
|
|
|
Code: influxdb.EUnauthorized,
|
|
|
|
Msg: "unauthorized access",
|
|
|
|
}
|
|
|
|
)
|