Error Handling
Module Implementation: OpenSSLCryptoInterfaceERR
This module provides the core error detection and handling abstractions. Detectable errors occurring within OpenSSL API calls will produce error objects (instead of raising exceptions). The design choice for error objects is strictly based on maintaining compatibility with older versions of SSL/TLS support. In the future, an optional exception handling mode may be added to this module.
Note: Internal classes are italicized and will only contain a short description.
Errors
OpenSSLFailureToInitializeLibraryError: Specialization of OpenSSLError useful for helping identify native binding issues (independent of API usage errors).
OpenSSLError
This object wraps a specific message digest algorithm. It contains an API for one-shot digests.
Instance methods: API
ifSslErrorDo: aBlock
Unconditionally evaluate the block @aBlock
Arguments:
aBlock - <Block> 1-arg
isSslError
Answer true.
Arguments:
<Boolean>
Extensions
Object
ifSslErrorDo: aBlock
Polymorphic No-Op method. Take no action
Answers:
<Object>
isSslError
Answer false.
Answers:
<Boolean>
isSslInitializationError
Answer false.
Answers:
<Boolean>
OpenSSLCryptoLibraryDispatcher
Internal extensions to facilitate the creation of error objects when performing API calls.
Last modified date: 08/09/2017