feat: add scan library functionality and related error handling in LibraryHeader and services

This commit is contained in:
Julien Froidefond
2025-10-19 09:55:07 +02:00
parent 3704a8d88b
commit 7d9bac5c51
9 changed files with 195 additions and 9 deletions

View File

@@ -32,6 +32,7 @@ export const ERROR_MESSAGES: Record<string, string> = {
// Library
[ERROR_CODES.LIBRARY.NOT_FOUND]: "📚 Library {libraryId} not found",
[ERROR_CODES.LIBRARY.FETCH_ERROR]: "📚 Error fetching libraries",
[ERROR_CODES.LIBRARY.SCAN_ERROR]: "🔍 Error scanning library",
// Series
[ERROR_CODES.SERIES.FETCH_ERROR]: "📖 Error fetching series",