mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
31 lines
636 B
TypeScript
31 lines
636 B
TypeScript
export enum ErrorCode {
|
|
DefaultRuntimeError = 1,
|
|
ReactiveProxyError,
|
|
DocCollectionError,
|
|
ModelCRUDError,
|
|
ValueNotExists,
|
|
ValueNotInstanceOf,
|
|
ValueNotEqual,
|
|
MigrationError,
|
|
SchemaValidateError,
|
|
TransformerError,
|
|
InlineEditorError,
|
|
TransformerNotImplementedError,
|
|
EdgelessExportError,
|
|
CommandError,
|
|
EventDispatcherError,
|
|
SelectionError,
|
|
GfxBlockElementError,
|
|
MissingViewModelError,
|
|
DatabaseBlockError,
|
|
ParsingError,
|
|
UserAbortError,
|
|
ExecutionError,
|
|
|
|
// Fatal error should be greater than 10000
|
|
DefaultFatalError = 10000,
|
|
NoRootModelError,
|
|
NoSurfaceModelError,
|
|
NoneSupportedSSRError,
|
|
}
|