MetaApiException

class MetaApiException(message: String, val isRetryable: Boolean = true, val httpStatus: Int? = null, cause: Throwable? = null) : RuntimeException(source)

Exceção personalizada para erros de integração com a Graph API da Meta.

Parameters

message

Mensagem de erro descritiva.

isRetryable

Define se o Worker deve tentar enviar novamente (ex: timeout) ou desistir (ex: 400 Bad Request).

httpStatus

Status HTTP retornado pela Meta (se houver).

Constructors

Link copied to clipboard
constructor(message: String, isRetryable: Boolean = true, httpStatus: Int? = null, cause: Throwable? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val httpStatus: Int? = null
Link copied to clipboard
val isRetryable: Boolean = true
Link copied to clipboard
open val message: String?

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard