Skip to content

Commit

Permalink
Remove UndefinedProviderError
Browse files Browse the repository at this point in the history
  • Loading branch information
rmk135 committed Jun 3, 2016
1 parent b86760e commit 17d8283
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions dependency_injector/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,3 @@ class Error(Exception):
All dependency injector errors extend this error class.
"""


class UndefinedProviderError(Error, AttributeError):
"""Undefined provider error.
This error is used when provider could not be defined, for example:
- provider with certain name could not be defined
- catalog's name of the certain provider could not be defined
- etc...
Also this error extends standard :py:class:`AttributeError`. This gives
possibility to use it correctly with ``__getattr__()``.
"""

0 comments on commit 17d8283

Please sign in to comment.