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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user