Adapter Design Pattern code: 2 - Registered errorObject with front controller.