2016-03-13 21:24:49 +03:00
|
|
|
<?php
|
2019-07-15 01:59:56 +03:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2016-03-13 21:24:49 +03:00
|
|
|
namespace api\exceptions;
|
|
|
|
|
|
|
|
/**
|
2019-07-15 01:59:56 +03:00
|
|
|
* The exception can be used for cases where the outcome doesn't seem to be expected,
|
|
|
|
* but can theoretically happen. The goal is to capture these areas and refine the logic
|
|
|
|
* if such situations do occur.
|
2019-09-18 02:14:05 +03:00
|
|
|
*
|
|
|
|
* @deprecated use \Webmozart\Assert\Assert to ensure, that action has been successfully performed
|
2016-03-13 21:24:49 +03:00
|
|
|
*/
|
2017-09-19 20:06:16 +03:00
|
|
|
class ThisShouldNotHappenException extends Exception {
|
2016-03-13 21:24:49 +03:00
|
|
|
|
|
|
|
}
|