pub enum BibleLibError {
InvalidCustomTranslationFile,
VerseNotFound,
ChapterNotFound,
BookNotFound,
InvalidVerseFormat,
IOError(Error),
}Expand description
Errors that can occur in the Bible Lib
Variants§
InvalidCustomTranslationFile
The specified custom translation file is invalid or does not exist.
VerseNotFound
The specified verse was not found in the translation.
ChapterNotFound
The specified chapter was not found in the translation.
BookNotFound
The specified book was not found in the translation.
InvalidVerseFormat
The verse format provided is invalid.
IOError(Error)
An I/O error occurred.
Trait Implementations§
Source§impl Debug for BibleLibError
impl Debug for BibleLibError
Auto Trait Implementations§
impl Freeze for BibleLibError
impl !RefUnwindSafe for BibleLibError
impl Send for BibleLibError
impl Sync for BibleLibError
impl Unpin for BibleLibError
impl !UnwindSafe for BibleLibError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more