v7.0.0 release

This commit is contained in:
HeuJung committed 2026-07-01 10:30:32 +09:00
1 parent 0e7fa04b03
commit c4ea9a6cd1
3582 files changed
+626189 -160151

No files matched your search

@@ -0,0 +1,24 @@
<?php
namespace Modules\Sirsoft\Ecommerce\Exceptions;
use RuntimeException;
/**
* 상품 이미지 업로드 최대 개수 초과 예외
*
* 상품당 허용된 최대 이미지 수를 초과하여 업로드를 시도할 때 발생합니다.
* 컨트롤러의 기존 catch (\Exception) 흐름에서 분기하여 422 응답을 반환합니다.
*/
class ProductImageUploadLimitException extends RuntimeException
{
/**
* @param int $maxImages 허용된 최대 이미지 수
*/
public function __construct(public readonly int $maxImages)
{
parent::__construct(
__('sirsoft-ecommerce::exceptions.product_image_limit_exceeded', ['max' => $maxImages])
);
}
}