Adapter Design Pattern code: 4 - Just return output from errorObject::getError().