stopOnInvalidClaimsVector: Parameter Function stopOnInvalidClaimsVector
Description
stopOnInvalidClaimsVector checks if claims vector
in a bankruptcy game is specified correctly.
Validation result gets stored to object paramCheckResult
in case an error occured and causes stop otherwise.
Usage
stopOnInvalidClaimsVector(paramCheckResult, n, d)
Arguments
paramCheckResult
list object for check result with list element 'errCode' for the error code
and 'errMessage' for the error message.
n
represents the number of players
d
numeric vector which contains the claims of each player in a bankruptcy game
Error Code Ranges
Error codes and messages shown to user if error on parameter check occurs
Error Code
Message
1160
Number of claims must equal the number of players in the bankruptcy game!