QuranErrorMessages class

Error messages used throughout the package.

Constructors

QuranErrorMessages.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

cacheError(String details) String
Cache error
fileNotFound(String filePath) String
File not found error
invalidAyahId(int ayahId, int maxAyat) String
Invalid ayah ID error
invalidAyahRange(int start, int end) String
Invalid ayah range error
invalidHizbNumber(int hizbNumber) String
Invalid Hizb number error
invalidJsonStructure(String details) String
Invalid JSON structure error
invalidJuzNumber(int juzNumber) String
Invalid Juz number error
invalidLimit(int limit, int maxLimit) String
Invalid limit error
invalidPageNumber(int page) String
Invalid page number error
invalidRevelationType(String revelationType) String
Invalid revelation type error
invalidSurahId(int surahId) String
Invalid surah ID error
networkError(String details) String
Network error
permissionError(String details) String
Permission error
searchTermTooLong(int maxLength) String
Search term too long error
searchTermTooShort(int minLength) String
Search term too short error

Constants

dataNotInitialized → const String
Data not initialized error
emptySearchTerm → const String
Empty search term error