File tree Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace LastDragon_ru \LaraASP \GraphQL \SearchBy ;
4
4
5
- class SearchLogicException extends SearchByException {
6
- // empty
5
+ use GraphQL \Error \ClientAware ;
6
+ use LastDragon_ru \LaraASP \GraphQL \Package ;
7
+
8
+ class SearchLogicException extends SearchByException implements ClientAware {
9
+ public function isClientSafe (): bool {
10
+ return true ;
11
+ }
12
+
13
+ public function getCategory (): string {
14
+ return Package::Name;
15
+ }
7
16
}
Original file line number Diff line number Diff line change 2
2
3
3
namespace LastDragon_ru \LaraASP \GraphQL \SortBy ;
4
4
5
- class SortLogicException extends SortByException {
6
- // empty
5
+ use GraphQL \Error \ClientAware ;
6
+ use LastDragon_ru \LaraASP \GraphQL \Package ;
7
+
8
+ class SortLogicException extends SortByException implements ClientAware {
9
+ public function isClientSafe (): bool {
10
+ return true ;
11
+ }
12
+
13
+ public function getCategory (): string {
14
+ return Package::Name;
15
+ }
7
16
}
You can’t perform that action at this time.
0 commit comments