Files
kulakpos_web/vendor/knuckleswtf/scribe/src/Exceptions/ProblemParsingValidationRules.php

16 lines
432 B
PHP
Raw Normal View History

2026-04-18 19:47:13 +07:00
<?php
namespace Knuckles\Scribe\Exceptions;
class ProblemParsingValidationRules extends \RuntimeException implements ScribeException
{
public static function forParam(string $paramName, \Throwable $innerException): self
{
return new self(
"Problem processing validation rules for the param `{$paramName}`: {$innerException->getMessage()}",
0,
$innerException
);
}
}