rfdonnelly / jobrnr

Jobrnr runs jobs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Catch User Errors

rfdonnelly opened this issue · comments

In general, catch bad usage and provide good error messages. Some work has already been done to validate DSL methods' inputs. This issue is an attempt to identify all areas where we can check, catch, and report bad usage.

  • job command
  • job.execute command
    • requires String or block (101e8eb)
    • requires String or block, not both (101e8eb)
    • requires String if not null (101e8eb)
  • job.repeat command
  • import command
  • check job graph has no cycles (Check implemented indirectly as job/'predecessor not found' check. User is unable to create cycles since jobs cannot be referenced until defined.)
  • job description syntax errors (3c02885)
  • jobrnr command
    • require valid file argument (#34)
    • require valid options (#36)

All items completed.