Error Event
Information about errors during PGP encryption.
Syntax
public open class DefaultPgpwriterEventListener : PgpwriterEventListener { ... public override fun error(e: PgpwriterErrorEvent) {} ... } public class PgpwriterErrorEvent { val errorCode: Int val description: String? }
Remarks
The event is fired in case of exceptional conditions during data encryption or signing.
ErrorCode contains an error code and Description contains a textual description of the error.