Errors are reported in several ways in SecureBlackbox.
Some methods return the error code as a result of method execution. This approach is taken when the returned error can be expected often and the error is not something unusual.
When the extraordinary situation happens, most SecureBlackbox methods throw (raise) an exception. Exception must be handled using try/catch or try/except (depending on the programming language) statement. The exceptions are reported using one of the exception classes listed below. Use those classes to distinguish between different types of errors.
The next approach is to report the error via OnError event of the component. The OnError event is used to report SSL/TLS, SSH and SFTP errors which happen during data transfer. This event can be treated as informational/notification, because the exception usually occurs too after the event is fired.