Renamed method to: handleErrorMessage.