Error handling

Some simple error handling around Exception.Base