Make some error messages localizable (#9811)

* Make error message of 3 exceptions localizable.

* Revert unnecessary file handle exception change.

(cherry picked from commit 8f395d98e7be976263d2ee9b7559c2638d57b47e)
This commit is contained in:
Mekanik
2023-08-06 06:50:43 -07:00
committed by Jobobby04
parent d098abc7e1
commit bef7a42da5
4 changed files with 9 additions and 3 deletions
@@ -267,7 +267,7 @@ abstract class HttpSource : CatalogueSource {
chapterListParse(response)
}
} else {
Observable.error(Exception("Licensed - No chapters to show"))
Observable.error(LicensedMangaChaptersException())
}
}
@@ -471,3 +471,5 @@ abstract class HttpSource : CatalogueSource {
}
// EXH <--
}
class LicensedMangaChaptersException : Exception("Licensed - No chapters to show")