add error handling stub.