Add basic error handling routine

<O> Question is: How do I raise an error?