-
-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c793ae7
commit 4ddf28b
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
from typing import Any | ||
|
||
class FrozenInstanceError(AttributeError): | ||
msg: str = ... | ||
|
||
class AttrsAttributeNotFoundError(ValueError): ... | ||
class NotAnAttrsClassError(ValueError): ... | ||
class DefaultAlreadySetError(RuntimeError): ... | ||
class UnannotatedAttributeError(RuntimeError): ... | ||
|
||
class NotCallableError(TypeError): | ||
message: str = ... | ||
value: Any = ... | ||
def __init__(self, message: str, value: Any) -> None: ... |