Exception: Hecks::Runtime::AbsentArgument

Inherits:
StandardError
  • Object
show all
Defined in:
lib/hecks/runtime/errors.rb

Overview

The third of the trio, and the one that was missing : a name the command DOES declare, absent. TypeMismatch is the right name carrying the wrong thing, UnknownArgument a name that was never declared, AbsentArgument a declared name that never arrived. Between them they say a command takes exactly the arguments it declares — no others, and all of them.