Skip to content

Commit

Permalink
common exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangut committed Feb 3, 2019
1 parent ac0f441 commit 90803df
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/Exception/InvalidCommandHandlerException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

/*
* cqrs (https://github.com/phpgears/cqrs).
* CQRS base.
*
* @license MIT
* @link https://github.com/phpgears/cqrs
* @author Julián Gutiérrez <juliangut@gmail.com>
*/

declare(strict_types=1);

namespace Gears\CQRS\Exception;

class InvalidCommandHandlerException extends \RuntimeException
{
}
18 changes: 18 additions & 0 deletions src/Exception/InvalidQueryHandlerException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

/*
* cqrs (https://github.com/phpgears/cqrs).
* CQRS base.
*
* @license MIT
* @link https://github.com/phpgears/cqrs
* @author Julián Gutiérrez <juliangut@gmail.com>
*/

declare(strict_types=1);

namespace Gears\CQRS\Exception;

class InvalidQueryHandlerException extends \RuntimeException
{
}
18 changes: 18 additions & 0 deletions src/Exception/QueryReturnException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

/*
* cqrs (https://github.com/phpgears/cqrs).
* CQRS base.
*
* @license MIT
* @link https://github.com/phpgears/cqrs
* @author Julián Gutiérrez <juliangut@gmail.com>
*/

declare(strict_types=1);

namespace Gears\CQRS\Exception;

class QueryReturnException extends \RuntimeException
{
}

0 comments on commit 90803df

Please sign in to comment.