SessionError

data class SessionError(val code: SessionError.Code, val message: String, val cause: Throwable? = null)

A session-level error reported on A2aSession.errors or thrown as A2aSessionException. message is for developers; show your own text to the user. The original exception, when there is one, is in cause.

Constructors

Link copied to clipboard
constructor(code: SessionError.Code, message: String, cause: Throwable? = null)

Types

Link copied to clipboard

Properties

Link copied to clipboard
val cause: Throwable? = null
Link copied to clipboard
Link copied to clipboard