| stopOnParamCheckError {CoopGame} | R Documentation |
stopOnParamCheckError - stop and create error message on error
Description
stopOnParamCheckError causes and creates error message on base of paramCheckResult parameter where 'errCode' <> '0' in case error occured.
Usage
stopOnParamCheckError(paramCheckResult)
Arguments
paramCheckResult |
list object for check result with list element 'errCode' for the error code and 'errMessage' for the error message. |
Author(s)
Johannes Anwander anwander.johannes@gmail.com
See Also
Other ParameterChecks_CoopGame:
getEmptyParamCheckResult(),
stopOnInconsistentEstateAndClaimsVector(),
stopOnInvalidAllocation(),
stopOnInvalidBoolean(),
stopOnInvalidClaimsVector(),
stopOnInvalidCoalitionS(),
stopOnInvalidDictator(),
stopOnInvalidEstate(),
stopOnInvalidGameVector(),
stopOnInvalidGrandCoalitionN(),
stopOnInvalidIndex(),
stopOnInvalidLeftRightGloveGame(),
stopOnInvalidNChooseB(),
stopOnInvalidNumberOfPlayers(),
stopOnInvalidNumber(),
stopOnInvalidQuota(),
stopOnInvalidVetoPlayer(),
stopOnInvalidWeightVector()
Examples
library(CoopGame)
paramCheckResult=getEmptyParamCheckResult()
stopOnParamCheckError(paramCheckResult)