web/vendor/nette/di/src/DI/exceptions.php

31 lines
484 B
PHP

<?php
/**
* This file is part of the Nette Framework (https://nette.org)
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
namespace Nette\DI;
use Nette;
/**
* Service not found exception.
*/
class MissingServiceException extends Nette\InvalidStateException
{
}
/**
* Service creation exception.
*/
class ServiceCreationException extends Nette\InvalidStateException
{
public function setMessage($message)
{
$this->message = $message;
return $this;
}
}