RelpsnErrors class

Tratamento de erros específicos para os serviços RELPSN

Constructors

RelpsnErrors()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

analyzeError(String codigo, String mensagem) RelpsnErrorAnalysis
Analisa uma mensagem de erro e retorna informações detalhadas
getAvisos() List<RelpsnErrorInfo>
Obtém todos os erros de aviso
getEntradasIncorretas() List<RelpsnErrorInfo>
Obtém todos os erros de entrada incorreta
getErrorInfo(String codigo) RelpsnErrorInfo?
Obtém informações sobre um erro específico
getErrorsByType(RelpsnErrorType tipo) List<RelpsnErrorInfo>
Obtém todos os erros de um tipo específico
getErros() List<RelpsnErrorInfo>
Obtém todos os erros gerais
isKnownError(String codigo) bool
Verifica se um código é um erro conhecido

Constants

errorCodes → const Map<String, RelpsnErrorInfo>
Códigos de erro específicos do RELPSN