mirror of
https://gitlab.com/izyim/prototypes/ddd-example.git
synced 2026-08-22 05:54:21 +00:00
Create User Zone
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Src\Common\Domain\Exceptions;
|
||||
|
||||
final class MaximumValueException extends \DomainException
|
||||
{
|
||||
public function __construct($fieldName, $value)
|
||||
{
|
||||
parent::__construct(__("The maximum value for '$fieldName' is '$value"));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user