@nhtio/vue-editors/errors
Contains the custom error classes used in the Vue Editors library.
Classes
| Class | Description |
|---|---|
| CannotAccessDisposedDirectException | Exception thrown when an operation is attempted on a disposed NVEDirent instance. |
| CouldNotCreateMonacoModelForDirentException | Exception thrown when trying to create a Monaco model and an error occurs |
| DirentAlreadyExistsException | Exception thrown when trying to create a NVEDirent that already exists. |
| InvalidExecutionContextException | Exception thrown when the library is executed in an invalid context (e.g., outside browser or web worker). |
| NoCommitMethodDefinedException | Exception thrown when trying to commit a dirent or filesystem which does not have a valid commit hook |
| NoSuchDirentException | Exception thrown when trying to access a NVEDirent that does not exist. |
| NotASerializedDirent | Exception thrown when trying to create a MonacoDirect from an invalid Serialized string |
| NotASerializedNVEFileSystem | Exception thrown when trying to create a NVEFileSystem from an invalid Serialized string |
Interfaces
| Interface | Description |
|---|---|
| LibraryError | Base class for all custom errors in the Vue Editors library. Extends the native Error class and provides additional features such as stack trace trimming and custom name/message handling. |
| LibraryErrorOptions | Describes the options for the LibraryError class. |