librenms/librenms

View on GitHub
LibreNMS/Exceptions/JsonAppBlankJsonException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace LibreNMS\Exceptions;

use Throwable;

class JsonAppBlankJsonException 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;
    }
}