Adding a bit of documentation on throwing of errors when code fails