Documentation
¶
Index ¶
Constants ¶
View Source
const ( RealmNotProviderMsg = "You does not provided any realm" InvalidRealm = "Invalid realm" RealmDoesNotExistsTemplate = "Realm \"{0}\" does not exists" BadBodyForTokenGenerationMsg = "Bad body for token generation, see documentations" InvalidClientMsg = "Invalid client" InvalidClientCredentialDesc = "Invalid client credentials" InvalidUserCredentialsMsg = "invalid grant" InvalidUserCredentialsDesc = "Invalid user credentials" InvalidRequestMsg = "Invalid request" InvalidRequestDesc = "Token not provided" InvalidTokenMsg = "Invalid token" InvalidTokenDesc = "Token verification failed" TokenIsNotActive = "Token is not active" OtherAppError = "Other error" )
View Source
const (
SecuritySettingsAreNil = "Security settings are nil, this is on the error edge, operation could not be performed by sys admin"
)
Variables ¶
View Source
var ( EmptyNotFoundErr = ObjectNotFoundError{} ErrZeroLength = errors.New("zero length") ErrNotAll = errors.New("not all values") ErrExists = ObjectAlreadyExistsError{} ErrNotExists = errors.New("not exists") ErrOperationNotSupported = errors.New("manager operation is not supported yet (temporarily or permanent)") ErrOperationNotImplemented = errors.New("manager operation is not implemented yet (wait for future releases)") ErrDataSourceNotAvailable = DataProviderNotAvailable{} ErrBadData = errors.New("operation can't be performed, bad data") )
Functions ¶
This section is empty.
Types ¶
type AttackerNotFoundError ¶ added in v0.9.3
type AttackerNotFoundError struct {
// contains filtered or unexported fields
}
func NewAttackerNotFoundError ¶ added in v0.9.3
func NewAttackerNotFoundError(attackerSign string) AttackerNotFoundError
func (AttackerNotFoundError) Error ¶ added in v0.9.3
func (e AttackerNotFoundError) Error() string
type AttackerStatDataNotFoundError ¶ added in v0.9.3
type AttackerStatDataNotFoundError struct {
// contains filtered or unexported fields
}
func NewAttackerStatDataNotFoundError ¶ added in v0.9.3
func NewAttackerStatDataNotFoundError(attackerSign string, statDataId uuid.UUID) AttackerStatDataNotFoundError
func (AttackerStatDataNotFoundError) Error ¶ added in v0.9.3
func (e AttackerStatDataNotFoundError) Error() string
type DataProviderNotAvailable ¶ added in v0.9.2
type DataProviderNotAvailable struct {
// contains filtered or unexported fields
}
func NewDataProviderNotAvailable ¶ added in v0.9.2
func NewDataProviderNotAvailable(providerType string, source string) DataProviderNotAvailable
func (DataProviderNotAvailable) Error ¶ added in v0.9.2
func (e DataProviderNotAvailable) Error() string
type FederatedUserNotFoundError ¶ added in v0.9.2
type FederatedUserNotFoundError struct {
FederationType string
Name string
Url string
Username string
}
func NewFederatedUserNotFound ¶ added in v0.9.2
func NewFederatedUserNotFound(federationType string, name string, url string, username string) FederatedUserNotFoundError
func (FederatedUserNotFoundError) Error ¶ added in v0.9.2
func (e FederatedUserNotFoundError) Error() string
type MultipleUserResultError ¶ added in v0.9.2
func NewMultipleUserResultError ¶ added in v0.9.2
func NewMultipleUserResultError(name string, username string) MultipleUserResultError
func (MultipleUserResultError) Error ¶ added in v0.9.2
func (e MultipleUserResultError) Error() string
type ObjectAlreadyExistsError ¶ added in v0.9.2
type ObjectAlreadyExistsError struct {
// contains filtered or unexported fields
}
func NewObjectExistsError ¶ added in v0.9.2
func NewObjectExistsError(objectType string, objectId string, additional string) ObjectAlreadyExistsError
func (ObjectAlreadyExistsError) Error ¶ added in v0.9.2
func (e ObjectAlreadyExistsError) Error() string
type ObjectNotFoundError ¶ added in v0.9.2
type ObjectNotFoundError struct {
// contains filtered or unexported fields
}
func NewObjectNotFoundError ¶ added in v0.9.2
func NewObjectNotFoundError(objectType string, objectId string, additional string) ObjectNotFoundError
func (ObjectNotFoundError) Error ¶ added in v0.9.2
func (e ObjectNotFoundError) Error() string
type UnknownError ¶ added in v0.9.2
type UnknownError struct {
// contains filtered or unexported fields
}
func NewUnknownError ¶ added in v0.9.2
func NewUnknownError(operation string, method string, internalErr error) UnknownError
func (UnknownError) Error ¶ added in v0.9.2
func (e UnknownError) Error() string
Click to show internal directories.
Click to hide internal directories.