Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllCodes = []Code{ MissingField, InvalidFormat, InvalidValue, AmbiguousValue, NormalizationFailed, IncompleteParty, RuleViolation, TotalMismatch, Inconsistent, EmptyInput, WriteError, ReadError, LoEngineError, JAVAEngineError, ContainerTimeout, JobStatusError, InternalError, Unknown, }
AllCodes dient als Referenzliste für Tests und Dokumentation
Functions ¶
func GetExitCode ¶
GetExitCode findet den richtigen Code, egal wie tief der Fehler gewrapped ist
Types ¶
type Code ¶
type Code string
const ( // Input MissingField Code = "MISSING_FIELD" InvalidFormat Code = "INVALID_FORMAT" InvalidValue Code = "INVALID_VALUE" // Normalize AmbiguousValue Code = "AMBIGUOUS_VALUE" NormalizationFailed Code = "NORMALIZATION_FAILED" IncompleteParty Code = "INCOMPLETE_PARTY" // Master Validate RuleViolation Code = "RULE_VIOLATION" TotalMismatch Code = "TOTAL_MISMATCH" Inconsistent Code = "INCONSISTENT_DATA" // Render EmptyInput Code = "EMPTY_INPUT" WriteError Code = "WRITE_ERROR" ReadError Code = "READ_ERROR" LoEngineError Code = "LO_ENGINE_ERROR" JAVAEngineError Code = "JAVA_ENGINE_ERROR" ContainerTimeout Code = "TIME_OUT" JobStatusError Code = "JOB_STATUS_ERROR" InternalError Code = "INTERNAL_ERROR" Unknown Code = "UNKNOWN_ERROR" )
Click to show internal directories.
Click to hide internal directories.