public function __construct($value) { parent::__construct('$value', "'" . var_export($value, true) . "' is not a valid country identifier"); }