Error Handling

// various examples showing how to handle generic error