Statistics
| Branch: | Tag: | Revision:

root / ncclient / operations / errors.py @ bbd4ce54

History | View | Annotate | Download (768 Bytes)

1 d771dffc Shikhar Bhushan
# Copyright 2009 Shikhar Bhushan
2 d771dffc Shikhar Bhushan
#
3 d771dffc Shikhar Bhushan
# Licensed under the Apache License, Version 2.0 (the "License");
4 d771dffc Shikhar Bhushan
# you may not use this file except in compliance with the License.
5 d771dffc Shikhar Bhushan
# You may obtain a copy of the License at
6 d771dffc Shikhar Bhushan
#
7 d771dffc Shikhar Bhushan
#    http://www.apache.org/licenses/LICENSE-2.0
8 d771dffc Shikhar Bhushan
#
9 d771dffc Shikhar Bhushan
# Unless required by applicable law or agreed to in writing, software
10 d771dffc Shikhar Bhushan
# distributed under the License is distributed on an "AS IS" BASIS,
11 d771dffc Shikhar Bhushan
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 d771dffc Shikhar Bhushan
# See the License for the specific language governing permissions and
13 d771dffc Shikhar Bhushan
# limitations under the License.
14 d771dffc Shikhar Bhushan
15 ebf2bbc6 Shikhar Bhushan
from ncclient import NCClientError
16 ebf2bbc6 Shikhar Bhushan
17 ebf2bbc6 Shikhar Bhushan
class OperationError(NCClientError):
18 ebf2bbc6 Shikhar Bhushan
    pass
19 ebf2bbc6 Shikhar Bhushan
20 216bb34c Shikhar Bhushan
class TimeoutExpiredError(NCClientError):
21 216bb34c Shikhar Bhushan
    pass
22 216bb34c Shikhar Bhushan
23 ebf2bbc6 Shikhar Bhushan
class MissingCapabilityError(NCClientError):
24 ebf2bbc6 Shikhar Bhushan
    pass