vaultmd / MdVaultCode
Type Alias: MdVaultCode
MdVaultCode =
"ALLOWLIST_VIOLATION"|"NOT_MARKDOWN"|"NOT_FOUND"|"ALREADY_EXISTS"|"NO_MATCH"|"AMBIGUOUS_MATCH"|"MTIME_CONFLICT"|"REFUSE_CREATE"|"FRONTMATTER_INVALID"|"VALIDATION_ERROR"|"COMMIT_FAILED"|"INDEX_UNAVAILABLE"
Defined in: src/errors.ts:6
Union of all stable error codes thrown by MdVaultError. Use this type for exhaustive switch/case handling of vault errors without coupling to message strings.