2021-03-01 07:55:10 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace Kwaadpepper\Enum\Exceptions;
|
|
|
|
|
|
|
|
|
|
use Exception;
|
|
|
|
|
|
2021-09-12 00:05:38 +02:00
|
|
|
/**
|
|
|
|
|
* Is thrown when your enum definition
|
|
|
|
|
* contain multiple times the same value
|
|
|
|
|
*
|
|
|
|
|
* This should only happen if you override the values method
|
|
|
|
|
*/ class DuplicateValuesException extends Exception
|
2021-03-01 07:55:10 +01:00
|
|
|
{
|
|
|
|
|
//
|
|
|
|
|
}
|