Remove unused exception

The ValidationSizeError exception was never actually used anywhere in
the code base. This commit removes it.

Change-Id: I748b0ecc17ef67c3f8555cb2d2e6c8846bb684c4
This commit is contained in:
Lance Bragstad 2018-05-03 20:32:01 +00:00
parent ec338a3374
commit 92f42209c2
1 changed files with 0 additions and 10 deletions

View File

@ -162,16 +162,6 @@ class StringLengthExceeded(ValidationError):
" of column %(type)s(CHAR(%(length)d)).")
class ValidationSizeError(Error):
message_format = _("Request attribute %(attribute)s must be"
" less than or equal to %(size)i. The server"
" could not comply with the request because"
" the attribute size is invalid (too large)."
" The client is assumed to be in error.")
code = int(http_client.BAD_REQUEST)
title = http_client.responses[http_client.BAD_REQUEST]
class AmbiguityError(ValidationError):
message_format = _("There are multiple %(resource)s entities named"
" '%(name)s'. Please use ID instead of names to"