Versions in this module Expand all Collapse all v0 v0.7.2 Dec 13, 2021 Changes in this version + const RosettaFileExtension + var ErrCannotOpenFile = errors.New("file cannot be opened") + var ErrCannotSetVariableWithoutOutput = errors.New("cannot set variable without output path") + var ErrDuplicateScenarioName = errors.New("duplicate scenario name") + var ErrDuplicateWorkflowName = errors.New("duplicate workflow name") + var ErrEOF = errors.New("reached end of file") + var ErrIncorrectExtension = errors.New("expected .ros file extension") + var ErrInvalidActionType = errors.New("invalid action type") + var ErrInvalidMathSymbol = errors.New("invalid math symbol") + var ErrParsingScenarioName = errors.New("cannot parse scenario name") + var ErrParsingWorkflowConcurrency = errors.New("cannot parse workflow concurrency") + var ErrParsingWorkflowName = errors.New("cannot parse workflow name") + var ErrScanner = errors.New("scanner error") + var ErrSyntax = errors.New("incorrect syntax") + var ErrUnexpectedEOF = errors.New("unexpected EOF") + var ErrVariableUndefined = errors.New("variable undefined") + type Error struct + Err error + Line int + LineContents string + func Parse(ctx context.Context, file string) ([]*job.Workflow, *Error) + func (e *Error) Log()