Error Event
Information about errors during one-time password (OTP) processing.
Syntax
public class DefaultOtpserverEventListener implements OtpserverEventListener { ... public void error(OtpserverErrorEvent e) {} ... } public class OtpserverErrorEvent { public int errorCode; public String description; }
Remarks
This event is fired in case of exceptional conditions during OTP checks.
ErrorCode contains an error code and Description contains a textual description of the error.