Error Event
Reports errors during one-time password (OTP) generation.
Syntax
public open class DefaultOtpclientEventListener : OtpclientEventListener { ... public override fun error(e: OtpclientErrorEvent) {} ... } public class OtpclientErrorEvent { val errorCode: Int val description: String? }
Remarks
This event is fired in case of exceptional conditions during generation of one-time passwords.
ErrorCode contains an error code and Description contains a textual description of the error.