1 <?php 2 3 declare(strict_types=1); 4 5 namespace OpenSpout\Writer\Exception\Border; 6 7 use OpenSpout\Common\Entity\Style\BorderPart; 8 use OpenSpout\Writer\Exception\WriterException; 9 10 final class InvalidStyleException extends WriterException 11 { 12 public function __construct(string $name) 13 { 14 $msg = '%s is not a valid style identifier for a border. Valid identifiers are: %s.'; 15 16 parent::__construct(sprintf($msg, $name, implode(',', BorderPart::allowedStyles))); 17 } 18 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body