This repository was archived by the owner on Feb 24, 2025. It is now read-only.
File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 9
9
use stdClass ;
10
10
use Teapot \StatusCode ;
11
11
use Usox \JsonSchemaApi \Contract \MethodProviderInterface ;
12
+ use Usox \JsonSchemaApi \Dispatch \Exception \SchemaInvalidException ;
13
+ use Usox \JsonSchemaApi \Dispatch \Exception \SchemaNotLoadableException ;
12
14
use Usox \JsonSchemaApi \Exception \ApiMethodException ;
13
15
use Usox \JsonSchemaApi \Exception \MethodNotFoundException ;
14
16
use Usox \JsonSchemaApi \Exception \RequestMalformedException ;
@@ -40,8 +42,9 @@ public function __construct(
40
42
* @throws ApiMethodException
41
43
* @throws RequestMalformedException
42
44
* @throws ResponseMalformedException
43
- * @throws \Usox\JsonSchemaApi\Dispatch\Exception\ SchemaInvalidException
45
+ * @throws SchemaInvalidException
44
46
* @throws SchemaNotFoundException
47
+ * @throws SchemaNotLoadableException
45
48
*/
46
49
public function dispatch (
47
50
ServerRequestInterface $ request ,
Original file line number Diff line number Diff line change 4
4
5
5
use Psr \Http \Message \ServerRequestInterface ;
6
6
use stdClass ;
7
+ use Usox \JsonSchemaApi \Dispatch \Exception \SchemaInvalidException ;
7
8
use Usox \JsonSchemaApi \Exception \ApiMethodException ;
8
9
use Usox \JsonSchemaApi \Exception \MethodNotFoundException ;
9
10
use Usox \JsonSchemaApi \Exception \RequestMalformedException ;
10
11
use Usox \JsonSchemaApi \Exception \ResponseMalformedException ;
11
- use Usox \JsonSchemaApi \Dispatch \Exception \SchemaInvalidException ;
12
12
use Usox \JsonSchemaApi \Dispatch \Exception \SchemaNotFoundException ;
13
13
14
14
interface MethodDispatcherInterface
@@ -20,7 +20,7 @@ interface MethodDispatcherInterface
20
20
* @throws ApiMethodException
21
21
* @throws RequestMalformedException
22
22
* @throws ResponseMalformedException
23
- * @throws \Usox\JsonSchemaApi\Dispatch\Exception\ SchemaInvalidException
23
+ * @throws SchemaInvalidException
24
24
* @throws SchemaNotFoundException
25
25
*/
26
26
public function dispatch (
You can’t perform that action at this time.
0 commit comments