Module: Collatz::SaneParameterErrMsg
- Defined in:
- lib/collatz/utilities.rb
Overview
Error message constants, to be used as input to the FailedSaneParameterCheck.
Constant Summary collapse
- SANE_PARAMS_P =
Message to print in the FailedSaneParameterCheck if p, the modulus, is zero.
"'p' should not be 0 ~ violates modulo being non-zero."
- SANE_PARAMS_A =
Message to print in the FailedSaneParameterCheck if a, the multiplicand, is zero.
"'a' should not be 0 ~ violates the reversability."