TimeoutError class
Timeout — a requisição pode ter sido processada; a SDK não faz retry automático para não duplicar cobranças/envios.
- Inheritance
-
- Object
- ApiBrasilError
- NetworkError
- TimeoutError
Constructors
- TimeoutError(String message, {int? status, String? code, dynamic response, Object? cause})
Properties
- cause → Object?
-
Erro original que causou esta falha, quando houver.
finalinherited
- code → String?
-
Código de erro retornado pela API (ex:
NOT_FOUND).finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- isInsufficientBalance → bool
-
truequando a falha foi por saldo/créditos insuficientes (HTTP 402).no setterinherited -
truequando a falha foi de autenticação (HTTP 401).no setterinherited - message → String
-
Mensagem de erro — a da API quando disponível.
finalinherited
- response → dynamic
-
Corpo completo da resposta de erro, quando existir.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int?
-
Status HTTP retornado pela API (ex: 401, 402, 404).
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited