Service - Product Availability Service Exception Code¶
Code¶
- exception ecstask.productavailability.exceptions.product_availability_service_exception.PayloadValidationException[source]¶
Bases:
ExceptionBase class to handle payload validation exceptions
- exception ecstask.productavailability.exceptions.product_availability_service_exception.HeaderValidationException[source]¶
Bases:
ExceptionBase class to handle Header validation exceptions
- exception ecstask.productavailability.exceptions.product_availability_service_exception.PayloadValidationError(message='An error occurred while validating request payload, this is probably due to one of the required field missing from the request, See logs for more details', http_status=0)[source]¶
-
Exception raised when there is an error while validating fields from the payload .. attribute:: message
explanation of the error
- type
String
- exception ecstask.productavailability.exceptions.product_availability_service_exception.HeaderValidationError(message='An error occurred while validating request payload, this is probably due to one of the required field misisng from the request, See logs for more details', http_status=0)[source]¶
-
Exception raised when there is an error while validating fields from the header .. attribute:: message
explanation of the error
- type
String