diff options
author | rfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f> | 2009-06-10 01:38:11 +0000 |
---|---|---|
committer | rfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f> | 2009-06-10 01:38:11 +0000 |
commit | e8ea64303f1d2600d3110eabd9a29f8a72a32741 (patch) | |
tree | 4b5a0b1d5eada1e832c749f44a574958558ea47a | |
parent | eab8247a423dd29f307aff1362055904ef5a9818 (diff) | |
download | pyfilesystem-e8ea64303f1d2600d3110eabd9a29f8a72a32741.tar.gz |
add new error class "RemoteConnectionError"
git-svn-id: http://pyfilesystem.googlecode.com/svn/branches/rfk-ideas@164 67cdc799-7952-0410-af00-57a81ceafa0f
-rw-r--r-- | fs/errors.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/errors.py b/fs/errors.py index daa026b..e345499 100644 --- a/fs/errors.py +++ b/fs/errors.py @@ -50,6 +50,12 @@ class UnsupportedError(OperationFailedError): default_message = "Unable to %(opname)s: not supported by this filesystem" +class RemoteConnectionError(OperationFailedError): + """Exception raised when operation encounter remote connection trouble.""" + default_message = "Unable to %(opname)s: remote connection errror" + + + class ResourceError(FSError): """Base exception class for error associated with a specific resource.""" |