mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
dff8456382
Ensure all errors in `core` and `workflow` inherit from `ApplicationError` so that we start normalizing all the errors we report to Sentry Follow-up to: https://github.com/n8n-io/n8n/pull/7757#discussion_r1404338844 ### `core` package `ApplicationError` - `FileSystemError` (abstract) - `FileNotFoundError` - `DisallowedFilepathError` - `BinaryDataError` (abstract) - `InvalidModeError` - `InvalidManagerError` - `InvalidExecutionMetadataError` ### `workflow` package `ApplicationError` - `ExecutionBaseError` (abstract) - `WorkflowActivationError` - `WorkflowDeactivationError` - `WebhookTakenError` - `WorkflowOperationError` - `SubworkflowOperationError` - `CliWorkflowOperationError` - `ExpressionError` - `ExpressionExtensionError` - `NodeError` (abstract) - `NodeOperationError` - `NodeApiError` - `NodeSSLError` Up next: - Reorganize errors in `cli` - Flatten the hierarchy in `workflow` (do we really need `ExecutionBaseError`?) - Remove `ExecutionError` type - Stop throwing plain `Error`s - Replace `severity` with `level` - Add node and credential types as `tags` - Add workflow IDs and execution IDs as `extras`
22 lines
828 B
TypeScript
22 lines
828 B
TypeScript
import * as NodeExecuteFunctions from './NodeExecuteFunctions';
|
|
|
|
export * from './errors';
|
|
export * from './ActiveWorkflows';
|
|
export * from './BinaryData/BinaryData.service';
|
|
export * from './BinaryData/types';
|
|
export { Cipher } from './Cipher';
|
|
export * from './ClassLoader';
|
|
export * from './Constants';
|
|
export * from './Credentials';
|
|
export * from './DirectoryLoader';
|
|
export * from './Interfaces';
|
|
export { InstanceSettings } from './InstanceSettings';
|
|
export * from './NodeExecuteFunctions';
|
|
export * from './WorkflowExecute';
|
|
export { NodeExecuteFunctions };
|
|
export * from './errors';
|
|
export { ObjectStoreService } from './ObjectStore/ObjectStore.service.ee';
|
|
export { BinaryData } from './BinaryData/types';
|
|
export { isStoredMode as isValidNonDefaultMode } from './BinaryData/utils';
|
|
export * from './ExecutionMetadata';
|