Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(error): Add validation error classes for YouTube ID and URL (#91)
- Introduced new error classes for more specific validation error handling: - `IDValidationError`: Represents errors for invalid YouTube video IDs during validation. - `URLValidationError`: Represents errors for invalid YouTube video URLs during validation. - `UnknownYouTubeDomainError`: Represents errors due to invalid or unknown YouTube domains. - Updated the `error` module to export the new error classes. These additions provide better error handling and clarity for validation-related operations. Authored-by: Ryuu Mitsuki <[email protected]>
- Loading branch information