File "ProblemParsingValidationRules.php"

Full Path: /var/www/html/back/vendor/knuckleswtf/scribe/src/Exceptions/ProblemParsingValidationRules.php
File size: 450 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Knuckles\Scribe\Exceptions;

use Throwable;

class ProblemParsingValidationRules extends \RuntimeException implements ScribeException
{
    public static function forParam(string $paramName,  Throwable $innerException): ProblemParsingValidationRules
    {
        return new self(
            "Problem processing validation rules for the param `$paramName`: {$innerException->getMessage()}",
            0, $innerException);
    }
}