pyhpecw7.errors module¶
Errors for pyhpecw7 library.
(c) Copyright 2016 Hewlett Packard Enterprise Development LP Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
-
exception
pyhpecw7.errors.
ConnectionAuthenticationError
(dev, msg=None)[source]¶ Bases:
pyhpecw7.errors.ConnectionError
When there’s an authentication error.
-
exception
pyhpecw7.errors.
ConnectionClosedError
(dev, msg=None)[source]¶ Bases:
pyhpecw7.errors.ConnectionError
When there’s a connection closed error.
-
exception
pyhpecw7.errors.
ConnectionError
(dev, msg=None)[source]¶ Bases:
pyhpecw7.errors.PYHPError
When there is an error in the SSH/NETCONF connection.
-
exception
pyhpecw7.errors.
ConnectionSSHError
(dev, msg=None)[source]¶ Bases:
pyhpecw7.errors.ConnectionError
When there’s an SSH error.
-
exception
pyhpecw7.errors.
ConnectionUnkownHostError
(dev, msg=None)[source]¶ Bases:
pyhpecw7.errors.ConnectionError
When there’s an uknown host error.
-
exception
pyhpecw7.errors.
FeatureError
[source]¶ Bases:
pyhpecw7.errors.PYHPError
Base class for all errors related to features.
-
exception
pyhpecw7.errors.
LockConflictError
[source]¶ Bases:
pyhpecw7.errors.PYHPError
When there’s an attempt to lock, and NETCONF lock is not available.
-
exception
pyhpecw7.errors.
NCError
(rpc_error=None)[source]¶ Bases:
pyhpecw7.errors.PYHPError
Wrapper for ncclient RPC errors.
-
exception
pyhpecw7.errors.
NCTimeoutError
[source]¶ Bases:
pyhpecw7.errors.PYHPError
When there is no response from the device within the timeout range.
-
exception
pyhpecw7.errors.
PYHPError
[source]¶ Bases:
Exception
General base class for all errors in the pyhpecw7 library.
-
exception
pyhpecw7.errors.
UnlockConflictError
[source]¶ Bases:
pyhpecw7.errors.PYHPError
When there’s an attempt to unlock, and NETCONF lock is not available.