Error Event
Information about errors during one-time password (OTP) processing.
Syntax
public open class DefaultOtpserverEventListener : OtpserverEventListener { ... public override fun error(e: OtpserverErrorEvent) {} ... } public class OtpserverErrorEvent { val errorCode: Int val description: String? }
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.