Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
pattern SystemError :: BotanErrorCode #
data SomeBotanException #
Exception e => SomeBotanException e |
Instances
Exception SomeBotanException | |
Defined in Botan.Low.Error | |
Show SomeBotanException | |
Defined in Botan.Low.Error showsPrec :: Int -> SomeBotanException -> ShowS # show :: SomeBotanException -> String # showList :: [SomeBotanException] -> ShowS # |
pattern Success :: BotanErrorCode #
data BadFlagException #
BadFlagException BotanErrorCode ErrorMessage CallStack |
Instances
Exception BadFlagException | |
Defined in Botan.Low.Error | |
Show BadFlagException | |
Defined in Botan.Low.Error showsPrec :: Int -> BadFlagException -> ShowS # show :: BadFlagException -> String # showList :: [BadFlagException] -> ShowS # |
data BadMACException #
BadMACException BotanErrorCode ErrorMessage CallStack |
Instances
Exception BadMACException | |
Defined in Botan.Low.Error | |
Show BadMACException | |
Defined in Botan.Low.Error showsPrec :: Int -> BadMACException -> ShowS # show :: BadMACException -> String # showList :: [BadMACException] -> ShowS # |
data BadParameterException #
BadParameterException BotanErrorCode ErrorMessage CallStack |
Instances
Exception BadParameterException | |
Defined in Botan.Low.Error | |
Show BadParameterException | |
Defined in Botan.Low.Error showsPrec :: Int -> BadParameterException -> ShowS # show :: BadParameterException -> String # showList :: [BadParameterException] -> ShowS # |
data ExceptionThrownException #
ExceptionThrownException BotanErrorCode ErrorMessage CallStack |
Instances
Exception ExceptionThrownException | |
Show ExceptionThrownException | |
Defined in Botan.Low.Error showsPrec :: Int -> ExceptionThrownException -> ShowS # show :: ExceptionThrownException -> String # showList :: [ExceptionThrownException] -> ShowS # |
data InsufficientBufferSpaceException #
InsufficientBufferSpaceException BotanErrorCode ErrorMessage CallStack |
Instances
data InternalErrorException #
InternalErrorException BotanErrorCode ErrorMessage CallStack |
Instances
Exception InternalErrorException | |
Show InternalErrorException | |
Defined in Botan.Low.Error showsPrec :: Int -> InternalErrorException -> ShowS # show :: InternalErrorException -> String # showList :: [InternalErrorException] -> ShowS # |
data InvalidInputException #
InvalidInputException BotanErrorCode ErrorMessage CallStack |
Instances
Exception InvalidInputException | |
Defined in Botan.Low.Error | |
Show InvalidInputException | |
Defined in Botan.Low.Error showsPrec :: Int -> InvalidInputException -> ShowS # show :: InvalidInputException -> String # showList :: [InvalidInputException] -> ShowS # |
data InvalidKeyLengthException #
InvalidKeyLengthException BotanErrorCode ErrorMessage CallStack |
Instances
Exception InvalidKeyLengthException | |
Show InvalidKeyLengthException | |
Defined in Botan.Low.Error showsPrec :: Int -> InvalidKeyLengthException -> ShowS # show :: InvalidKeyLengthException -> String # showList :: [InvalidKeyLengthException] -> ShowS # |
data InvalidObjectException #
InvalidObjectException BotanErrorCode ErrorMessage CallStack |
Instances
Exception InvalidObjectException | |
Show InvalidObjectException | |
Defined in Botan.Low.Error showsPrec :: Int -> InvalidObjectException -> ShowS # show :: InvalidObjectException -> String # showList :: [InvalidObjectException] -> ShowS # |
data InvalidObjectStateException #
InvalidObjectStateException BotanErrorCode ErrorMessage CallStack |
Instances
data KeyNotSetException #
KeyNotSetException BotanErrorCode ErrorMessage CallStack |
Instances
Exception KeyNotSetException | |
Defined in Botan.Low.Error | |
Show KeyNotSetException | |
Defined in Botan.Low.Error showsPrec :: Int -> KeyNotSetException -> ShowS # show :: KeyNotSetException -> String # showList :: [KeyNotSetException] -> ShowS # |
data NotImplementedException #
NotImplementedException BotanErrorCode ErrorMessage CallStack |
Instances
Exception NotImplementedException | |
Show NotImplementedException | |
Defined in Botan.Low.Error showsPrec :: Int -> NotImplementedException -> ShowS # show :: NotImplementedException -> String # showList :: [NotImplementedException] -> ShowS # |
data NullPointerException #
NullPointerException BotanErrorCode ErrorMessage CallStack |
Instances
Exception NullPointerException | |
Defined in Botan.Low.Error | |
Show NullPointerException | |
Defined in Botan.Low.Error showsPrec :: Int -> NullPointerException -> ShowS # show :: NullPointerException -> String # showList :: [NullPointerException] -> ShowS # |
data OutOfMemoryException #
OutOfMemoryException BotanErrorCode ErrorMessage CallStack |
Instances
Exception OutOfMemoryException | |
Defined in Botan.Low.Error | |
Show OutOfMemoryException | |
Defined in Botan.Low.Error showsPrec :: Int -> OutOfMemoryException -> ShowS # show :: OutOfMemoryException -> String # showList :: [OutOfMemoryException] -> ShowS # |
data StringConversionException #
StringConversionException BotanErrorCode ErrorMessage CallStack |
Instances
Exception StringConversionException | |
Show StringConversionException | |
Defined in Botan.Low.Error showsPrec :: Int -> StringConversionException -> ShowS # show :: StringConversionException -> String # showList :: [StringConversionException] -> ShowS # |
data SystemErrorException #
SystemErrorException BotanErrorCode ErrorMessage CallStack |
Instances
Exception SystemErrorException | |
Defined in Botan.Low.Error | |
Show SystemErrorException | |
Defined in Botan.Low.Error showsPrec :: Int -> SystemErrorException -> ShowS # show :: SystemErrorException -> String # showList :: [SystemErrorException] -> ShowS # |
data UnknownException #
UnknownException BotanErrorCode ErrorMessage CallStack |
Instances
Exception UnknownException | |
Defined in Botan.Low.Error | |
Show UnknownException | |
Defined in Botan.Low.Error showsPrec :: Int -> UnknownException -> ShowS # show :: UnknownException -> String # showList :: [UnknownException] -> ShowS # |
pattern BadFlag :: BotanErrorCode #
pattern BadMAC :: BotanErrorCode #
pattern BadParameter :: BotanErrorCode #
pattern ExceptionThrown :: BotanErrorCode #
pattern HttpError :: BotanErrorCode #
pattern InsufficientBufferSpace :: BotanErrorCode #
pattern InternalError :: BotanErrorCode #
pattern InvalidIdentifier :: BotanErrorCode #
pattern InvalidInput :: BotanErrorCode #
pattern InvalidKeyLength :: BotanErrorCode #
pattern InvalidObject :: BotanErrorCode #
pattern InvalidObjectState :: BotanErrorCode #
pattern KeyNotSet :: BotanErrorCode #
pattern NotImplemented :: BotanErrorCode #
pattern NullPointer :: BotanErrorCode #
pattern OutOfMemory :: BotanErrorCode #
pattern RoughtimeError :: BotanErrorCode #
pattern StringConversionError :: BotanErrorCode #
pattern TLSError :: BotanErrorCode #
pattern UnknownError :: BotanErrorCode #
botanErrorLastExceptionMessage :: IO ErrorMessage #
fromBotanException :: Exception e => SomeException -> Maybe e #
throwBotanCatchingBool :: HasCallStack => IO BotanErrorCode -> IO Bool #
throwBotanCatchingInt :: HasCallStack => IO BotanErrorCode -> IO Int #
throwBotanCatchingSuccess :: HasCallStack => IO BotanErrorCode -> IO Bool #
throwBotanError :: HasCallStack => BotanErrorCode -> IO a #
throwBotanErrorWithCallstack :: BotanErrorCode -> CallStack -> IO a #
throwBotanIfNegative_ :: HasCallStack => IO BotanErrorCode -> IO () #
toBotanException :: Exception e => e -> SomeException #
type BotanErrorCode = CInt #