librenms/LibreNMS/Exceptions/JsonAppParsingFailedException.php

22 lines
409 B
PHP
Raw Normal View History

<?php
namespace LibreNMS\Exceptions;
use Throwable;
class JsonAppParsingFailedException extends JsonAppException
{
private $output;
public function __construct($message, $output, $code = 0, Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
$this->output = $output;
}
public function getOutput()
{
return $this->output;
}
}