chore: update errors

pull/142/head
yupix 6 months ago
parent b7f56d6719
commit 24ba7f777f
No known key found for this signature in database
GPG Key ID: 2FF705F5C56D9C06

@ -117,6 +117,10 @@ class CannotReplyToAPureRenoteError(APIError):
"""You can not reply to a pure Renote."""
class CannotReplyToSpecifiedVisibilityNoteWithExtendedVisibilityError(APIError):
"""You cannot reply to a specified visibility note with extended visibility."""
class CannotReportTheAdminError(APIError):
"""Cannot report the admin."""
@ -129,6 +133,14 @@ class CanNotDeleteInviteCodeError(APIError):
"""You can't delete this invite code."""
class ContainsProhibitedWordsError(APIError):
"""Cannot post because it contains prohibited words."""
class ContainsTooManyMentionsError(APIError):
"""Cannot post because it exceeds the allowed number of mentions."""
class CredentialRequiredError(APIError):
"""Credential required."""
@ -229,6 +241,10 @@ class InvalidUrlError(APIError):
"""Invalid URL"""
class IsRemoteUserError(APIError):
"""Currently unavailable to display reactions of remote users. See https://github.com/misskey-dev/misskey/issues/12964"""
class IAmAiError(APIError):
"""You sent a request to Ai-chan, Misskey's showgirl, instead of the server."""

Loading…
Cancel
Save