Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Most of the errors thrown by galley are defined as static errors in
Galley
and declared as part of the API. Errors defined here
are dynamic, and mostly internal.
Synopsis
- data InvalidInput
- data InternalError
- internalErrorWithDescription :: LText -> Error
- internalErrorDescription :: InternalError -> LText
- legalHoldServiceUnavailable :: Show a => a -> Error
Internal errors
data InvalidInput Source #
CustomRolesNotSupported | |
InvalidRange LText | |
InvalidUUID4 | |
InvalidPayload LText | |
FederationFunctionNotSupported LText |
Instances
APIError InvalidInput Source # | |
Defined in Galley.API.Error |
data InternalError Source #
BadConvState ConvId | |
BadMemberState | |
NoPrekeyForUser | |
CannotCreateManagedConv | |
InternalErrorWithDescription LText |
Instances
Eq InternalError Source # | |
Defined in Galley.API.Error (==) :: InternalError -> InternalError -> Bool # (/=) :: InternalError -> InternalError -> Bool # | |
APIError InternalError Source # | |
Defined in Galley.API.Error |
legalHoldServiceUnavailable :: Show a => a -> Error Source #