$code $code : integer Store the error code. MinistryPlatform's Add/Update record calls do provide an error code. If it's passed, we'll send it along to the exception. Type integer
__construct() __construct(string $message, integer $code) Initialize the Exception object. Parameters string $message integer $code