Zend\Stratigility\Exception\MiddlewareException::fromType PHP Метод

fromType() приватный статический Метод

Create an instance using a templated error string.
private static fromType ( string $value ) : self
$value string
Результат self
    private static function fromType($value)
    {
        return new self(sprintf('Middleware raised an error condition: %s', $value));
    }
MiddlewareException