1 ##############################################################################
2 # Copyright (c) 2018 Parker Berberian, Sawyer Bergeron, and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
11 class ResourceProvisioningException(Exception):
12 """Resources could not be provisioned."""
17 class ModelValidationException(Exception):
18 """Validation before saving model returned issues."""
23 class ResourceAvailabilityException(ResourceProvisioningException):
24 """Requested resources are not *currently* available."""
29 class ResourceExistenceException(ResourceAvailabilityException):
30 """Requested resources do not exist or do not match any known resources."""
35 class NonUniqueHostnameException(Exception):
39 class InvalidHostnameException(Exception):
43 class InvalidVlanConfigurationException(Exception):
47 class NetworkExistsException(Exception):
51 class BookingLengthException(Exception):