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 | |
EmptyDownloadLocation |
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 |
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 |