QuicException


abstract class QuicException : NetworkException
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ java.io.IOException
   ↳ android.net.http.HttpException
   ↳ android.net.http.NetworkException
   ↳ android.net.http.QuicException

Subclass of NetworkException which contains a detailed QUIC error code from QuicErrorCode. An instance of QuicException is passed to onFailed callbacks when the error code is NetworkException.ERROR_QUIC_PROTOCOL_FAILED.

Summary

Inherited constants
Protected constructors
QuicException(message: String?, cause: Throwable?)

Constructs an exception that is caused by a QUIC protocol error.

Inherited functions

Protected constructors

QuicException

protected QuicException(
    message: String?,
    cause: Throwable?)

Constructs an exception that is caused by a QUIC protocol error.

Parameters
message String?: explanation of failure. This value may be null.
cause Throwable?: the cause (which is saved for later retrieval by the getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown.