@datalayer/core
Version:
[](https://datalayer.io)
19 lines (18 loc) • 464 B
JavaScript
/*
* Copyright (c) 2023-2025 Datalayer, Inc.
* Distributed under the terms of the Modified BSD License.
*/
export const BACKWARDS_COMPATIBLE_KERNEL_TYPES_MAP = {
// Backwards compatible mapping.
default: 'notebook',
snippet: 'cell',
notebook: 'notebook',
cell: 'cell',
};
/**
* Error thrown when a runtime has been created
* but it can ont be reached.
*/
export class RuntimeUnreachable extends Error {
name = 'RuntimeUnreachable';
}