From e71c1ae8065dac44676851fb141b5c8be4ef52c1 Mon Sep 17 00:00:00 2001 From: PavelUd Date: Mon, 27 May 2024 20:45:51 +0500 Subject: [PATCH] add first --- src/view/error-view.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/view/error-view.js diff --git a/src/view/error-view.js b/src/view/error-view.js new file mode 100644 index 0000000..f2d3a10 --- /dev/null +++ b/src/view/error-view.js @@ -0,0 +1,13 @@ +import AbstractView from '../framework/view/abstract-view'; + +const createErrorTemplate = () => ` +

+ Failed to load latest route information +

+`; + +export default class ErrorView extends AbstractView { + get template() { + return createErrorTemplate(); + } +}