From 77377d5e9362bd35a3b300df231e82ee974675e1 Mon Sep 17 00:00:00 2001 From: Parker Berberian Date: Thu, 19 Dec 2019 12:39:01 -0500 Subject: Comments and Documentation This change adds a ton of comments and documentation across all the code. Change-Id: Ifee0a2f534e8584f14b0f13af4dda8dc70eb7553 Signed-off-by: Parker Berberian --- src/dashboard/exceptions.py | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'src/dashboard/exceptions.py') diff --git a/src/dashboard/exceptions.py b/src/dashboard/exceptions.py index 7111bf8..61df145 100644 --- a/src/dashboard/exceptions.py +++ b/src/dashboard/exceptions.py @@ -9,30 +9,26 @@ class ResourceProvisioningException(Exception): - """ - Resources could not be provisioned - """ + """Resources could not be provisioned.""" + pass class ModelValidationException(Exception): - """ - Validation before saving model returned issues - """ + """Validation before saving model returned issues.""" + pass class ResourceAvailabilityException(ResourceProvisioningException): - """ - Requested resources are not *currently* available - """ + """Requested resources are not *currently* available.""" + pass class ResourceExistenceException(ResourceAvailabilityException): - """ - Requested resources do not exist or do not match any known resources - """ + """Requested resources do not exist or do not match any known resources.""" + pass -- cgit 1.2.3-korg