Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
Instances
(Typeable (MapError e), KnownError (MapError e)) => IsSwaggerError (e :: BrigError) Source # | |
Defined in Wire.API.Error.Brig addToOpenApi :: OpenApi -> OpenApi Source # | |
AsUnion HeadInvitationsResponses HeadInvitationByEmailResult Source # | |
AsUnion UpgradePersonalToTeamResponses (Either UpgradePersonalToTeamError CreateUserTeam) Source # | |
AsUnion (MessageNotSentResponses a) (MessageNotSent a) Source # | |
Defined in Wire.API.Routes.Public.Galley.Messaging toUnion :: MessageNotSent a -> Union (ResponseTypes (MessageNotSentResponses a)) Source # fromUnion :: Union (ResponseTypes (MessageNotSentResponses a)) -> MessageNotSent a Source # | |
type MapError 'AccessDenied Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'AccountEphemeral Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'AccountPending Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'AccountSuspended Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'AllowlistError Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'BadCredentials Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'BlacklistedEmail Source # | |
Defined in Wire.API.Error.Brig type MapError 'BlacklistedEmail = 'StaticError 403 "blacklisted-email" "The given e-mail address has been blacklisted due to a permanent bounce or a complaint." | |
type MapError 'CannotJoinMultipleTeams Source # | |
Defined in Wire.API.Error.Brig type MapError 'CannotJoinMultipleTeams = 'StaticError 403 "cannot-join-multiple-teams" "Cannot accept invitations from multiple teams" | |
type MapError 'ChangePasswordMustDiffer Source # | |
Defined in Wire.API.Error.Brig type MapError 'ChangePasswordMustDiffer = 'StaticError 409 "password-must-differ" "For password change, new and old password must be different." | |
type MapError 'ClientNotFound Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'CodeAuthenticationFailed Source # | |
Defined in Wire.API.Error.Brig type MapError 'CodeAuthenticationFailed = 'StaticError 403 "code-authentication-failed" "Code authentication failed" | |
type MapError 'CodeAuthenticationRequired Source # | |
Defined in Wire.API.Error.Brig type MapError 'CodeAuthenticationRequired = 'StaticError 403 "code-authentication-required" "Code authentication is required" | |
type MapError 'ConflictingInvitations Source # | |
Defined in Wire.API.Error.Brig type MapError 'ConflictingInvitations = 'StaticError 409 "conflicting-invitations" "Multiple conflicting invitations to different teams exists." | |
type MapError 'ConnectionLimitReached Source # | |
Defined in Wire.API.Error.Brig type MapError 'ConnectionLimitReached = 'StaticError 403 "connection-limit" "Too many sent/accepted connections" | |
type MapError 'CustomerExtensionBlockedDomain Source # | |
Defined in Wire.API.Error.Brig type MapError 'CustomerExtensionBlockedDomain = 'StaticError 451 "domain-blocked-for-registration" "[Customer extension] the email domain example.com that you are attempting to register a user with has been blocked for creating wire users. Please contact your IT department." | |
type MapError 'DeleteCodePending Source # | |
Defined in Wire.API.Error.Brig type MapError 'DeleteCodePending = 'StaticError 403 "pending-delete" "A verification code for account deletion is still pending" | |
type MapError 'EmailExists Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'HandleExists Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'HandleManagedByScim Source # | |
Defined in Wire.API.Error.Brig type MapError 'HandleManagedByScim = 'StaticError 403 "managed-by-scim" "Updating handle is not allowed, because it is managed by SCIM, or E2EId is enabled" | |
type MapError 'HandleNotFound Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'InsufficientTeamPermissions Source # | |
Defined in Wire.API.Error.Brig type MapError 'InsufficientTeamPermissions = 'StaticError 403 "insufficient-permissions" "Insufficient team permissions" | |
type MapError 'InvalidActivationCodeWrongCode Source # | |
Defined in Wire.API.Error.Brig type MapError 'InvalidActivationCodeWrongCode = 'StaticError 404 "invalid-code" "Invalid activation code" | |
type MapError 'InvalidActivationCodeWrongUser Source # | |
Defined in Wire.API.Error.Brig type MapError 'InvalidActivationCodeWrongUser = 'StaticError 404 "invalid-code" "User does not exist" | |
type MapError 'InvalidBot Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'InvalidCode Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'InvalidConversation Source # | |
Defined in Wire.API.Error.Brig type MapError 'InvalidConversation = 'StaticError 403 "invalid-conversation" "The operation is not allowed in this conversation." | |
type MapError 'InvalidEmail Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'InvalidHandle Source # | |
Defined in Wire.API.Error.Brig type MapError 'InvalidHandle = 'StaticError 400 "invalid-handle" "The given handle is invalid (less than 2 or more than 256 characters; chars not in \"a-z0-9_.-\"; or on the blocklist)" | |
type MapError 'InvalidInvitationCode Source # | |
Defined in Wire.API.Error.Brig type MapError 'InvalidInvitationCode = 'StaticError 400 "invalid-invitation-code" "Invalid invitation code." | |
type MapError 'InvalidKeyPackageRef Source # | |
Defined in Wire.API.Error.Brig type MapError 'InvalidKeyPackageRef = 'StaticError 409 "invalid-reference" "Key package's reference does not match its data" | |
type MapError 'InvalidPasswordResetCode Source # | |
Defined in Wire.API.Error.Brig type MapError 'InvalidPasswordResetCode = 'StaticError 400 "invalid-code" "Invalid password reset code." | |
type MapError 'InvalidPasswordResetKey Source # | |
Defined in Wire.API.Error.Brig type MapError 'InvalidPasswordResetKey = 'StaticError 400 "invalid-key" "Invalid email or mobile number for password reset." | |
type MapError 'InvalidPhone Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'InvalidProvider Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'InvalidServiceKey Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'InvalidTransition Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'InvalidUser Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'KeyPackageDecodingError Source # | |
Defined in Wire.API.Error.Brig type MapError 'KeyPackageDecodingError = 'StaticError 409 "decoding-error" "Key package could not be TLS-decoded" | |
type MapError 'LastIdentity Source # | |
Defined in Wire.API.Error.Brig type MapError 'LastIdentity = 'StaticError 403 "last-identity" "The last user identity cannot be removed." | |
type MapError 'LocaleManagedByScim Source # | |
Defined in Wire.API.Error.Brig type MapError 'LocaleManagedByScim = 'StaticError 403 "managed-by-scim" "Updating locale is not allowed, because it is managed by SCIM, or E2EId is enabled" | |
type MapError 'MLSDuplicatePublicKey Source # | |
Defined in Wire.API.Error.Brig type MapError 'MLSDuplicatePublicKey = 'StaticError 400 "mls-duplicate-public-key" "MLS public key for the given signature scheme already exists" | |
type MapError 'MLSIdentityMismatch Source # | |
Defined in Wire.API.Error.Brig type MapError 'MLSIdentityMismatch = 'StaticError 403 "mls-identity-mismatch" "Key package credential does not match qualified client ID" | |
type MapError 'MLSNotEnabled Source # | |
Defined in Wire.API.Error.Brig type MapError 'MLSNotEnabled = 'StaticError 400 "mls-not-enabled" "MLS is not configured on this backend. See docs.wire.com for instructions on how to enable it" | |
type MapError 'MLSProtocolError Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'MLSServicesNotAllowed Source # | |
Defined in Wire.API.Error.Brig type MapError 'MLSServicesNotAllowed = 'StaticError 409 "mls-services-not-allowed" "Services not allowed in MLS" | |
type MapError 'MalformedPrekeys Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'MissingAuth Source # | |
Defined in Wire.API.Error.Brig type MapError 'MissingAuth = 'StaticError 403 "missing-auth" "Re-authentication via password required" | |
type MapError 'MissingIdentity Source # | |
Defined in Wire.API.Error.Brig type MapError 'MissingIdentity = 'StaticError 403 "missing-identity" "Using an invitation code requires registering the given email." | |
type MapError 'MissingLegalholdConsent Source # | |
Defined in Wire.API.Error.Brig type MapError 'MissingLegalholdConsent = 'StaticError 403 "missing-legalhold-consent" "Failed to connect to a user or to invite a user to a group because somebody is under legalhold and somebody else has not granted consent" | |
type MapError 'MissingLegalholdConsentOldClients Source # | |
Defined in Wire.API.Error.Brig type MapError 'MissingLegalholdConsentOldClients = 'StaticError 403 "missing-legalhold-consent-old-clients" "Failed to connect to a user or to invite a user to a group because somebody is under legalhold and somebody else has old clients that do not support legalhold's UI requirements" | |
type MapError 'NameManagedByScim Source # | |
Defined in Wire.API.Error.Brig type MapError 'NameManagedByScim = 'StaticError 403 "managed-by-scim" "Updating name is not allowed, because it is managed by SCIM, or E2EId is enabled" | |
type MapError 'NoEmail Source # | |
Defined in Wire.API.Error.Brig type MapError 'NoEmail = 'StaticError 403 "no-email" "This operation requires the user to have a verified email address." | |
type MapError 'NoIdentity Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'NoPassword Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'NotConnected Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'NotificationNotFound Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'OwnerDeletingSelf Source # | |
Defined in Wire.API.Error.Brig type MapError 'OwnerDeletingSelf = 'StaticError 403 "no-self-delete-for-team-owner" "Team owners are not allowed to delete themselves; ask a fellow owner" | |
type MapError 'PasswordExists Source # | |
Defined in Wire.API.Error.Brig type MapError 'PasswordExists = 'StaticError 403 "password-exists" "The operation is not permitted because the user has a password set" | |
type MapError 'PasswordIsStale Source # | |
Defined in Wire.API.Error.Brig type MapError 'PasswordIsStale = 'StaticError 403 "password-is-stale" "The password is too old, please update your password." | |
type MapError 'PasswordResetInProgress Source # | |
Defined in Wire.API.Error.Brig type MapError 'PasswordResetInProgress = 'StaticError 409 "code-exists" "A password reset is already in progress." | |
type MapError 'PendingInvitationNotFound Source # | |
Defined in Wire.API.Error.Brig type MapError 'PendingInvitationNotFound = 'StaticError 404 "not-found" "No pending invitations exists." | |
type MapError 'PropertyKeyTooLarge Source # | |
Defined in Wire.API.Error.Brig type MapError 'PropertyKeyTooLarge = 'StaticError 403 "property-key-too-large" "The property key is too large." | |
type MapError 'PropertyValueTooLarge Source # | |
Defined in Wire.API.Error.Brig type MapError 'PropertyValueTooLarge = 'StaticError 403 "property-value-too-large" "The property value is too large" | |
type MapError 'ProviderNotFound Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'ResetPasswordMustDiffer Source # | |
Defined in Wire.API.Error.Brig type MapError 'ResetPasswordMustDiffer = 'StaticError 409 "password-must-differ" "For password reset, new and old password must be different." | |
type MapError 'ServiceDisabled Source # | |
Defined in Wire.API.Error.Brig type MapError 'ServiceDisabled = 'StaticError 403 "service-disabled" "The desired service is currently disabled." | |
type MapError 'ServiceNotFound Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'TeamsNotFederating Source # | |
Defined in Wire.API.Error.Brig type MapError 'TeamsNotFederating = 'StaticError 403 "team-not-federating" "The target user is owned by a federated backend, but is not in an allow-listed team" | |
type MapError 'TooManyClients Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'TooManyConversationMembers Source # | |
Defined in Wire.API.Error.Brig type MapError 'TooManyConversationMembers = 'StaticError 403 "too-many-members" "Maximum number of members per conversation reached." | |
type MapError 'TooManyProperties Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'TooManyTeamInvitations Source # | |
Defined in Wire.API.Error.Brig type MapError 'TooManyTeamInvitations = 'StaticError 403 "too-many-team-invitations" "Too many team invitations for this team" | |
type MapError 'TooManyTeamMembers Source # | |
Defined in Wire.API.Error.Brig type MapError 'TooManyTeamMembers = 'StaticError 403 "too-many-team-members" "Too many members in this team." | |
type MapError 'UnknownClient Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'UserAlreadyInATeam Source # | |
Defined in Wire.API.Error.Brig type MapError 'UserAlreadyInATeam = 'StaticError 403 "user-already-in-a-team" "Switching teams is not allowed" | |
type MapError 'UserCreationRestricted Source # | docsreferenceuser/registration.md {#RefRestrictRegistration}. |
Defined in Wire.API.Error.Brig type MapError 'UserCreationRestricted = 'StaticError 403 "user-creation-restricted" "This instance does not allow creation of personal users or teams." | |
type MapError 'UserKeyExists Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'UserNotFound Source # | |
Defined in Wire.API.Error.Brig | |
type MapError 'VerificationCodeThrottled Source # | |
Defined in Wire.API.Error.Brig type MapError 'VerificationCodeThrottled = 'StaticError 429 "too-many-requests" "Too many request to generate a verification code." |