Mika Scraper / PoemError
Interface: PoemError
Defined in: src/poem/poem-generator.ts:50
The PoemError
interface represents an error that occurs during the poem generation process. This interface provides useful information regarding the nature of the failure.
Properties
status
- Type:
boolean
- Default:
false
Defined in: src/poem/poem-generator.ts:51
Indicates whether the poem generation was successful or not. A value of false
indicates that an error has occurred.
message
- Type:
string
Defined in: src/poem/poem-generator.ts:52
A descriptive message detailing the reason for the failure in the poem generation process.
error
- Type:
any
Defined in: src/poem/poem-generator.ts:53
An additional field that may contain any relevant error object or information for further debugging and analysis. This could include exceptions thrown during the generation process.
Last updated on