MCPcopy Create free account
hub / github.com/praw-dev/praw / __init__

Method __init__

praw/exceptions.py:27–31  ·  view source on GitHub ↗

Initialize a :class:`.DuplicateReplaceException` instance.

(self)

Source from the content-addressed store, hash-verified

25 """Indicate exceptions that involve the replacement of :class:`.MoreComments`."""
26
27 def __init__(self) -> None:
28 """Initialize a :class:`.DuplicateReplaceException` instance."""
29 super().__init__(
30 "A duplicate comment has been detected. Are you attempting to call 'replace_more_comments' more than once?"
31 )
32
33
34class InvalidFlairTemplateID(ClientException):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected