Skip to content

Enum ExecutionErrorType

Namespace: Belay.Core
Assembly: Belay.Core.dll

Represents the type of error that occurred during code execution. Provides enhanced error classification for better diagnostics and handling.

csharp
public enum ExecutionErrorType

Fields

DeviceError = 7

Device-specific error or hardware issue. Problems with device capabilities or hardware failures.

FileSystemError = 4

File system or I/O error (OSError, IOError, ENOENT, etc.). Issues with file operations or device storage.

ImportError = 5

Import or module error (ImportError, ModuleNotFoundError). Required modules or libraries are not available on the device.

InterruptedError = 8

Execution was interrupted or cancelled. Operation was stopped before completion.

MemoryError = 3

Memory-related error (MemoryError, OSError with memory indication). Device ran out of memory during execution.

None = 0

No error occurred - execution was successful.

RuntimeError = 2

Runtime error during execution (NameError, TypeError, ValueError, etc.). Code was syntactically correct but failed during execution.

SyntaxError = 1

Python syntax error (SyntaxError, IndentationError, etc.). Indicates malformed Python code that could not be parsed.

TimeoutError = 6

Communication timeout or device unresponsive. Network or serial communication issues.

UnknownError = 9

Unknown or unclassified error. Error pattern not recognized by the classifier.

Released under the Apache License 2.0.