2016-03-13 23:54:49 +05:30
|
|
|
<?php
|
2019-07-15 04:29:56 +05:30
|
|
|
declare(strict_types=1);
|
|
|
|
|
2016-03-13 23:54:49 +05:30
|
|
|
namespace api\exceptions;
|
|
|
|
|
|
|
|
/**
|
2019-07-15 04:29:56 +05:30
|
|
|
* 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 04:44:05 +05:30
|
|
|
*
|
|
|
|
* @deprecated use \Webmozart\Assert\Assert to ensure, that action has been successfully performed
|
2016-03-13 23:54:49 +05:30
|
|
|
*/
|
2017-09-19 22:36:16 +05:30
|
|
|
class ThisShouldNotHappenException extends Exception {
|
2016-03-13 23:54:49 +05:30
|
|
|
|
|
|
|
}
|