package dev.quicproquo

/** Base exception for quicproquo SDK errors. */
open class QpqException(message: String, cause: Throwable? = null) :
    RuntimeException(message, cause)

/** OPAQUE authentication failed (bad credentials). */
class QpqAuthException(message: String) : QpqException(message)

/** Operation timed out. */
class QpqTimeoutException(message: String) : QpqException(message)

/** Client is not connected. */
class QpqNotConnectedException : QpqException("not connected")
