Implement default error handling