Skip to content
This repository was archived by the owner on Jun 18, 2020. It is now read-only.

Commit d35e8d2

Browse files
committed
Add exception PHPStorm stubs
1 parent b52f9c3 commit d35e8d2

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

phpstorm-stubs/arangodb/arangodb.php

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,4 +311,41 @@ public function toArray(): array
311311
{
312312
}
313313
}
314+
315+
class Exception extends \Exception
316+
{
317+
318+
}
319+
320+
class RuntimeException extends Exception
321+
{
322+
323+
}
324+
325+
class InvalidOptionException extends RuntimeException
326+
{
327+
328+
}
329+
330+
class RequestFailedException extends RuntimeException
331+
{
332+
/**
333+
* @return int HTTP status code
334+
*/
335+
public function getHttpCode(): int
336+
{
337+
}
338+
339+
/**
340+
* @return string Response body
341+
*/
342+
public function getBody(): string
343+
{
344+
}
345+
}
346+
347+
class InvalidArgumentException extends Exception
348+
{
349+
350+
}
314351
}

0 commit comments

Comments
 (0)