Change-Id: I947b81dc5d3960b4c4dd0c1f3a56e0cd7d13de6dchanges/97/664597/2
parent
d037d9e913
commit
d380816f81
@ -0,0 +1,24 @@
|
||||
# Copyright 2019 Red Hat
|
||||
#
|
||||
# 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.
|
||||
from __future__ import absolute_import
|
||||
|
||||
import tobiko
|
||||
|
||||
|
||||
class NoSuchNetwork(tobiko.TobikoException):
|
||||
message = "No such network found for {network!r}"
|
||||
|
||||
|
||||
class MoreNetworksFound(tobiko.TobikoException):
|
||||
message = "More than one network found for {network!r}: {network_ids!s}"
|
Loading…
Reference in new issue