import { defineMessages } from '@edx/frontend-platform/i18n';

const messages = defineMessages({
  unexpectedError: {
    id: 'unexpected.error.message.text',
    defaultMessage: 'An unexpected error occurred. Please click the button below to refresh the page.',
    description: 'error message when an unexpected error occurs',
  },
  unexpectedErrorButtonLabel: {
    id: 'unexpected.error.button.text',
    defaultMessage: 'Try again',
    description: 'text for button that tries to reload the app by refreshing the page',
  },
});

export default messages;
