package
0.0.0-20230226003218-1dd1f65bfa42
Repository: https://github.com/c4-project/c4t.git
Documentation: pkg.go.dev
# Functions
FromCompileError tries to see if err represents a non-fatal issue such as a timeout or process error.
FromRunError tries to see if err represents a non-fatal issue such as a timeout or process error.
FromString tries to resolve s to a status code.
# Constants
CompileFail indicates that a run failed because of the compilation failing.
CompileTimeout indicates that a run failed because the compilation timed out.
Filtered indicates that a run would have failed, but it has been caught by a filter.
FirstBad refers to the first status that represents an unwanted outcome.
FlagBad is the union of all 'bad' flags; it should match the calculation in Status.IsBad.
FlagCompileFail signifies a compile failure.
FlagCompileTimeout signifies a compile timeout.
FlagFail is the union of all failure flags.
FlagFiltered signifies that a subject was filtered out.
FlagFlagged signifies that a subject was 'flagged'.
Flagged indicates that a run completed successfully, but its observation was interesting.
FlagRunFail signifies a runtime failure.
FlagRunTimeout signifies a runtime timeout.
FlagTimeout is the union of all timeout flags.
Last is the last valid status.
Ok indicates that a run completed successfully without incident.
RunFail indicates that a run failed directly.
RunTimeout indicates that a run timed out.
Unknown represents an unknown status.
# Variables
ErrBad occurs when FromString encounters an unknown status string.