mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
caldav: Update DAVError and AuthorizationError (#6508)
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
from typing import Any, Type
|
||||
from typing import Type
|
||||
|
||||
def assert_(condition: object) -> None: ...
|
||||
|
||||
ERR_FRAGMENT: str
|
||||
|
||||
class AuthorizationError(Exception):
|
||||
url: Any
|
||||
class DAVError(Exception):
|
||||
url: str | None
|
||||
reason: str
|
||||
def __init__(self, url: str | None = ..., reason: str | None = ...) -> None: ...
|
||||
|
||||
class DAVError(Exception): ...
|
||||
class AuthorizationError(DAVError): ...
|
||||
class PropsetError(DAVError): ...
|
||||
class ProppatchError(DAVError): ...
|
||||
class PropfindError(DAVError): ...
|
||||
@@ -19,6 +20,6 @@ class PutError(DAVError): ...
|
||||
class DeleteError(DAVError): ...
|
||||
class NotFoundError(DAVError): ...
|
||||
class ConsistencyError(DAVError): ...
|
||||
class ReponseError(DAVError): ...
|
||||
class ResponseError(DAVError): ...
|
||||
|
||||
exception_by_method: dict[str, Type[DAVError]]
|
||||
|
||||
Reference in New Issue
Block a user