Add documentation for error handling
Add documentation for error handling

Add some basic documentation for error handling.

Signed-off-by: Mark Ryan <88ffc4093c40652fbbf052f026a8b6147509f0aa@gmail.com>

markdryan/subtilis,markdryan/subtilis