Updated doc and example

* Added exception/errors in documentation
* Fixed problem in example (backslash)