Skip to content

Commit

Permalink
Provide PSR-11 exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
philipobenito committed Mar 29, 2017
1 parent 0cde662 commit d97f6f0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/Exception/ContainerException.php
@@ -0,0 +1,10 @@
<?php

namespace League\Container\Exception;

use Psr\Container\ContainerExceptionInterface;
use RuntimeException;

class ContainerException extends RuntimeException implements ContainerExceptionInterface
{
}
2 changes: 1 addition & 1 deletion src/Exception/NotFoundException.php
Expand Up @@ -2,7 +2,7 @@

namespace League\Container\Exception;

use Interop\Container\Exception\NotFoundException as NotFoundExceptionInterface;
use Psr\Container\NotFoundExceptionInterface;
use InvalidArgumentException;

class NotFoundException extends InvalidArgumentException implements NotFoundExceptionInterface
Expand Down

0 comments on commit d97f6f0

Please sign in to comment.