-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
declare(strict_types = 1); | ||
|
||
/** | ||
* An exception thrown if a circular dependency has been encountered that would result in an | ||
* infinite loop or some other state that cannot be handled properly. | ||
* | ||
* @license See LICENSE file in project root | ||
*/ | ||
|
||
namespace Cspray\Labrador\Exception; | ||
|
||
class CircularDependencyException extends Exception { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php declare(strict_types=1); | ||
|
||
namespace Cspray\Labrador\Exception; | ||
|
||
/** | ||
* | ||
* @package Cspray\Labrador\Exception | ||
* @license See LICENSE in source root | ||
*/ | ||
class DependencyInjectionException extends Exception { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php declare(strict_types=1); | ||
|
||
/** | ||
* An exception thrown when a Labrador\Engine is asked to do something that it cannot do because of the state the Engine | ||
* is in. | ||
* | ||
* @license See LICENSE in source root. | ||
*/ | ||
namespace Cspray\Labrador\Exception; | ||
|
||
class InvalidStateException extends Exception { | ||
} |