Documented error codes
Corrected the documentation format
Merge pull request #225 from YoNuTzZ/Document-error-codes

Document error codes
fix #191