Added error message for wrong literals. Set default error message.