Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data GalleyError
- = InvalidAction
- | InvalidTargetAccess
- | TeamNotFound
- | TeamMemberNotFound
- | NotATeamMember
- | NonBindingTeam
- | BroadcastLimitExceeded
- | UserBindingExists
- | NoAddToBinding
- | TooManyTeamMembers
- | TooManyTeamAdmins
- | MissingPermission (Maybe Perm)
- | ActionDenied Action
- | NotConnected
- | InvalidOperation
- | InvalidTarget
- | ConvNotFound
- | ConvAccessDenied
- | ConvInvalidProtocolTransition
- | MLSNotEnabled
- | MLSNonEmptyMemberList
- | MLSDuplicatePublicKey
- | MLSInvalidLeafNodeIndex
- | MLSUnsupportedMessage
- | MLSProposalNotFound
- | MLSUnsupportedProposal
- | MLSProtocolErrorTag
- | MLSClientMismatch
- | MLSStaleMessage
- | MLSCommitMissingReferences
- | MLSSelfRemovalNotAllowed
- | MLSGroupConversationMismatch
- | MLSClientSenderUserMismatch
- | MLSWelcomeMismatch
- | MLSMissingGroupInfo
- | MLSUnexpectedSenderClient
- | MLSSubConvUnsupportedConvType
- | MLSSubConvClientNotInParent
- | MLSMigrationCriteriaNotSatisfied
- | MLSFederatedOne2OneNotSupported
- | MLSLegalholdIncompatible
- | NoBindingTeamMembers
- | NoBindingTeam
- | NotAOneMemberTeam
- | TooManyMembers
- | ConvMemberNotFound
- | GuestLinksDisabled
- | CodeNotFound
- | InvalidConversationPassword
- | CreateConversationCodeConflict
- | InvalidPermissions
- | InvalidTeamStatusUpdate
- | AccessDenied
- | CustomBackendNotFound
- | DeleteQueueFull
- | TeamSearchVisibilityNotEnabled
- | CannotEnableLegalHoldServiceLargeTeam
- | MissingLegalholdConsent
- | MissingLegalholdConsentOldClients
- | NoUserLegalHoldConsent
- | LegalHoldNotEnabled
- | LegalHoldDisableUnimplemented
- | LegalHoldServiceInvalidKey
- | LegalHoldServiceBadResponse
- | UserLegalHoldAlreadyEnabled
- | LegalHoldServiceNotRegistered
- | LegalHoldCouldNotBlockConnections
- | UserLegalHoldIllegalOperation
- | TooManyTeamMembersOnTeamWithLegalhold
- | NoLegalHoldDeviceAllocated
- | UserLegalHoldNotPending
- | BulkGetMemberLimitExceeded
- | InvalidTeamNotificationId
- type OperationDenied = 'MissingPermission 'Nothing
- type MLSProtocolError = Tagged 'MLSProtocolErrorTag Text
- mlsProtocolError :: Text -> MLSProtocolError
- data AuthenticationError
- data TeamFeatureError
- data MLSProposalFailure = MLSProposalFailure {}
- data NonFederatingBackends = NonFederatingBackends Domain Domain
- data UnreachableBackends = UnreachableBackends {}
- unreachableUsersToUnreachableBackends :: UnreachableUsers -> UnreachableBackends
- newtype UnreachableBackendsLegacy = UnreachableBackendsLegacy UnreachableBackends
Documentation
data GalleyError Source #
Instances
type OperationDenied = 'MissingPermission 'Nothing Source #
Convenience synonym for an operation denied error with an unspecified permission.
type MLSProtocolError = Tagged 'MLSProtocolErrorTag Text Source #
An MLS protocol error with associated text.
mlsProtocolError :: Text -> MLSProtocolError Source #
Create an MLS protocol error value.
data AuthenticationError Source #
Instances
data TeamFeatureError Source #
AppLockInactivityTimeoutTooLow | |
LegalHoldFeatureFlagNotEnabled | |
LegalHoldWhitelistedOnly | |
DisableSsoNotImplemented | |
FeatureLocked | |
MLSProtocolMismatch | |
MLSE2EIDMissingCrlProxy |
Instances
IsSwaggerError TeamFeatureError Source # | |
Defined in Wire.API.Error.Galley addToOpenApi :: OpenApi -> OpenApi Source # | |
Member (Error DynError :: (Type -> Type) -> Type -> Type) r => ServerEffect (Error TeamFeatureError :: (Type -> Type) -> Type -> Type) r Source # | |
Defined in Wire.API.Error.Galley interpretServerEffect :: Sem (Error TeamFeatureError ': r) a -> Sem r a Source # | |
type ErrorEffect TeamFeatureError Source # | |
Defined in Wire.API.Error.Galley | |
type MapError 'AppLockInactivityTimeoutTooLow Source # | |
Defined in Wire.API.Error.Galley type MapError 'AppLockInactivityTimeoutTooLow = 'StaticError 400 "inactivity-timeout-too-low" "Applock inactivity timeout must be at least 30 seconds" | |
type MapError 'DisableSsoNotImplemented Source # | |
Defined in Wire.API.Error.Galley type MapError 'DisableSsoNotImplemented = 'StaticError 403 "not-implemented" "The SSO feature flag is disabled by default. It can only be enabled once for any team, never disabled.\n\nRationale: there are two services in the backend that need to keep their status in sync: galley (teams),\nand spar (SSO). Galley keeps track of team features. If galley creates an idp, the feature flag is\nchecked. For authentication, spar avoids this expensive check and assumes that the idp can only have\nbeen created if the SSO is enabled. This assumption does not hold any more if the switch is turned off\nagain, so we do not support this.\n\nIt is definitely feasible to change this. If you have a use case, please contact customer support, or\nopen an issue on https://github.com/wireapp/wire-server." | |
type MapError 'FeatureLocked Source # | |
Defined in Wire.API.Error.Galley type MapError 'FeatureLocked = 'StaticError 409 "feature-locked" "Feature config cannot be updated (e.g. because it is configured to be locked, or because you need to upgrade your plan)" | |
type MapError 'LegalHoldFeatureFlagNotEnabled Source # | |
Defined in Wire.API.Error.Galley type MapError 'LegalHoldFeatureFlagNotEnabled = 'StaticError 403 "legalhold-not-enabled" "Legal hold is not enabled for this wire instance" | |
type MapError 'LegalHoldWhitelistedOnly Source # | |
Defined in Wire.API.Error.Galley type MapError 'LegalHoldWhitelistedOnly = 'StaticError 403 "legalhold-whitelisted-only" "Legal hold is enabled for teams via server config and cannot be changed here" | |
type MapError 'MLSE2EIDMissingCrlProxy Source # | |
Defined in Wire.API.Error.Galley type MapError 'MLSE2EIDMissingCrlProxy = 'StaticError 400 "mls-e2eid-missing-crl-proxy" "The field 'crlProxy' is missing in the request payload" | |
type MapError 'MLSProtocolMismatch Source # | |
Defined in Wire.API.Error.Galley type MapError 'MLSProtocolMismatch = 'StaticError 400 "mls-protocol-mismatch" "The default protocol needs to be part of the supported protocols" |
data MLSProposalFailure Source #
Instances
IsSwaggerError MLSProposalFailure Source # | |
Defined in Wire.API.Error.Galley addToOpenApi :: OpenApi -> OpenApi Source # | |
Member (Error JSONResponse :: (Type -> Type) -> Type -> Type) r => ServerEffect (Error MLSProposalFailure :: (Type -> Type) -> Type -> Type) r Source # | |
Defined in Wire.API.Error.Galley interpretServerEffect :: Sem (Error MLSProposalFailure ': r) a -> Sem r a Source # | |
type ErrorEffect MLSProposalFailure Source # | |
Defined in Wire.API.Error.Galley |
data NonFederatingBackends Source #
This is returned when adding members to the conversation is not possible because the backends involved do not form a fully connected graph.
Instances
data UnreachableBackends Source #
This is returned when adding members to the conversation is not possible because the backends involved do not form a fully connected graph.
Instances
newtype UnreachableBackendsLegacy Source #
A newtype wrapper to preserve backward compatibility of the error response for older versions.
Instances
APIError UnreachableBackendsLegacy Source # | |
Defined in Wire.API.Error.Galley | |
IsSwaggerError UnreachableBackendsLegacy Source # | |
Defined in Wire.API.Error.Galley addToOpenApi :: OpenApi -> OpenApi Source # | |
Member (Error JSONResponse :: (Type -> Type) -> Type -> Type) r => ServerEffect (Error UnreachableBackendsLegacy :: (Type -> Type) -> Type -> Type) r Source # | |
Defined in Wire.API.Error.Galley interpretServerEffect :: Sem (Error UnreachableBackendsLegacy ': r) a -> Sem r a Source # | |
type ErrorEffect UnreachableBackendsLegacy Source # | |
Defined in Wire.API.Error.Galley type ErrorEffect UnreachableBackendsLegacy = Error UnreachableBackendsLegacy :: (Type -> Type) -> Type -> Type |