Open
Description
Hi,
Does this lib have a class like chess.pgn.GameBuilder that raises errors instead of suppressing them? I don't mind making my own child class of GameBuilder
that overrides the handle_error
method, but if this lib already has an equivalent class then I would rather just use that. Thanks!
class Builder(GameBuilder):
"""Overrides GameBuilder.handle_error to raise exception"""
def handle_error(self, error: Exception) -> None:
"""
:rtype: None
:param error: Exception
:raises: Exception
"""
raise error
Metadata
Metadata
Assignees
Labels
No labels