Flutter Engine
The Flutter Engine
SkSLNoOpErrorReporter.h
Go to the documentation of this file.
1/*
2 * Copyright 2022 Google LLC
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef SkSLNoOpErrorReporter_DEFINED
9#define SkSLNoOpErrorReporter_DEFINED
10
13
14namespace SkSL {
15
16// We can use a no-op error reporter to silently ignore errors.
18public:
19 void handleError(std::string_view, Position) override {}
20};
21
22} // namespace SkSL
23
24#endif
void handleError(std::string_view, Position) override