Implemented a simple, small method for printing/outputting an error-message.