NotFoundError class

HTTP 404/410 — recurso não encontrado ou desativado.

Inheritance

Constructors

NotFoundError(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
true quando a falha foi por saldo/créditos insuficientes (HTTP 402).
no setterinherited
isUnauthorized → bool
true quando 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