Interface: AnimeFinderError
Defined in: src/anime-finder/anime-finder.ts:31
The AnimeFinderError
interface represents the fallback error result when the identification of an anime fails. It provides structured information to help developers understand the nature of the error that occurred during the identification process.
Properties
status
status:
false
Defined in: src/anime-finder/anime-finder.ts:32
Indicates that the anime identification has failed. This property is always set to false
in response to an error scenario.
message
message:
string
Defined in: src/anime-finder/anime-finder.ts:33
A descriptive message outlining the error encountered during the anime identification process. This message should provide detailed information to assist in debugging or user feedback.
error
error:
any
Defined in: src/anime-finder/anime-finder.ts:34
An optional property that may contain any error-related data. This can be an object, a string, or any other type that provides context about the error, allowing developers to better understand or handle the failure scenario.