NetworkError

data class NetworkError(val code: ErrorCode, val messageError: String, val localized: String, val throwable: Throwable?) : MercadoPagoCheckoutError

Network-related errors such as connection failures, timeouts, or unavailability.

Constructors

Link copied to clipboard
constructor(code: ErrorCode, messageError: String, localized: String, throwable: Throwable?)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard

The specific network error code.

Link copied to clipboard
val errorCause: String? = null

Optional cause of the error, if any.

Link copied to clipboard

Stable error code for monitoring and analytics.

Link copied to clipboard

The area/feature where the error occurred.

Link copied to clipboard

Human-readable error message.

Link copied to clipboard

The area/feature where the error occurred.

Link copied to clipboard
open val message: String?
Link copied to clipboard

Localized error message for end users.

Link copied to clipboard

The original exception that caused this error, if any.