Skip to content

Commit 3380a09

Browse files
Added Exceptions info
1 parent 6738023 commit 3380a09

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ extensions:
77
- sockets https://www.php.net/manual/en/book.sockets.php
88
- mbstring https://www.php.net/manual/en/book.mbstring.php
99

10+
## Exceptions
11+
Throwing exceptions is default behaviour. If you want, you can assign own callable error handler to ``\Bolt\Bolt::$errorHandler``. It's called on error and methods (init, run, pullAll, ...) will return false.
12+
1013
## Author note
1114
I really like Neo4j and I wanted to use it with PHP. But after I looked on official php library, I was really disappointed. Too much dependencies. I don't like if I need to install 10 things because of one. First I decided to use HTTP API for communication, but it wasn't fast enough. I went through bolt protocol documentation and I said to myself, why not to create own simpler library?
1215

0 commit comments

Comments
 (0)