commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
GraphQLError.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 
15 interface GraphQLError extends JsonObject
16 {
17  public const FIELD_MESSAGE = 'message';
18  public const FIELD_LOCATIONS = 'locations';
19  public const FIELD_PATH = 'path';
20  public const FIELD_EXTENSIONS = 'extensions';
21 
26  public function getMessage();
27 
32  public function getLocations();
33 
38  public function getPath();
39 
46  public function getExtensions();
47 
51  public function setMessage(?string $message): void;
52 
56  public function setLocations(?GraphQLErrorLocationCollection $locations): void;
57 
61  public function setPath(?array $path): void;
62 
66  public function setExtensions(?GraphQLErrorObject $extensions): void;
67 }
setExtensions(?GraphQLErrorObject $extensions)
setLocations(?GraphQLErrorLocationCollection $locations)