mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-13 10:04:15 +00:00
Instead of showing unexpected error, show message explaining that there are no files to be backed up and how to fix it. Fixes: https://github.com/pybricks/support/issues/681
11 lines
328 B
TypeScript
11 lines
328 B
TypeScript
// SPDX-License-Identifier: MIT
|
|
// Copyright (c) 2022 The Pybricks Authors
|
|
|
|
import { CustomError } from '../utils/customError';
|
|
|
|
/** Specific errors for editor subsystem. */
|
|
export type ExplorerErrorName = 'NoFiles';
|
|
|
|
/** Error class for editor subsystem. */
|
|
export class ExplorerError extends CustomError<ExplorerErrorName> {}
|