Skip to content

Commit 10de066

Browse files
committed
exception: use natural explanatory style
1 parent 2fc44d8 commit 10de066

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/DI/exceptions.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313

1414

1515
/**
16-
* Service not found exception.
16+
* The requested service was not found in the container.
1717
*/
1818
class MissingServiceException extends Nette\InvalidStateException
1919
{
2020
}
2121

2222

2323
/**
24-
* Service creation exception.
24+
* Failed to create the service instance.
2525
*/
2626
class ServiceCreationException extends Nette\InvalidStateException
2727
{
@@ -34,15 +34,15 @@ public function setMessage(string $message): static
3434

3535

3636
/**
37-
* Not allowed when container is resolving.
37+
* Operation is not allowed while container is resolving dependencies.
3838
*/
3939
class NotAllowedDuringResolvingException extends Nette\InvalidStateException
4040
{
4141
}
4242

4343

4444
/**
45-
* Error in configuration.
45+
* The DI container configuration is invalid.
4646
*/
4747
class InvalidConfigurationException extends Nette\InvalidStateException
4848
{

0 commit comments

Comments
 (0)