Add New method to create a ClientError