blob: 0dd11724cc362c4ce23a071890225b4894a3dabd [file] [log] [blame]
Ash Wilson31844f22014-09-08 15:32:58 -04001package v2
Samuel A. Falvo II8a549ef2014-01-24 15:20:54 -08002
3import "fmt"
4
Samuel A. Falvo II2b963212014-02-09 02:12:30 -08005// ErrNotImplemented errors may occur in two contexts:
6// (1) development versions of this package may return this error for endpoints which are defined but not yet completed, and,
7// (2) production versions of this package may return this error when a provider fails to offer the requested Identity extension.
8//
9// ErrEndpoint errors occur when the authentication URL provided to Authenticate() either isn't valid
10// or the endpoint provided doesn't respond like an Identity V2 API endpoint should.
11//
12// ErrCredentials errors occur when authentication fails due to the caller possessing insufficient access privileges.
13var (
14 ErrNotImplemented = fmt.Errorf("Identity feature not yet implemented")
15 ErrEndpoint = fmt.Errorf("Improper or missing Identity endpoint")
16 ErrCredentials = fmt.Errorf("Improper or missing Identity credentials")
17)