Skip to content

Commit

Permalink
Remove AuthenticationError, ExportError, FetchError.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice committed Aug 9, 2021
1 parent b10a2c7 commit e0b9217
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions signac/common/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,3 @@ class ConfigError(Error, RuntimeError):
"""Error with parsing or reading a configuration file."""

pass


# this class is only used by deprecated features
class AuthenticationError(Error, RuntimeError):
"""Authentication error."""

def __str__(self):
if len(self.args) > 0:
return f"Failed to authenticate with host '{self.args[0]}'."
else:
return "Failed to authenticate with host."


# this class is only used by deprecated features
class ExportError(Error, RuntimeError):
"""Error exporting documents to a mirror."""

pass


# this class is only used by deprecated features
class FetchError(FileNotFoundError):
"""Error in fetching data."""

pass

0 comments on commit e0b9217

Please sign in to comment.