import React from 'react';
import { formatMessage } from 'umi-plugin-react/locale';
import Link from 'umi/link';
import Exception from './components/Exception';

export default () => (
  <Exception
    type="403"
    desc={formatMessage({ id: 'BLOCK_NAME.description.403' })}
    linkElement={Link}
    backText={formatMessage({ id: 'BLOCK_NAME.exception.back' })}
  />
);
