Service - Product Availability Service Exception Code

Code

exception ecstask.productavailability.exceptions.product_availability_service_exception.PayloadValidationException[source]

Bases: Exception

Base class to handle payload validation exceptions

exception ecstask.productavailability.exceptions.product_availability_service_exception.HeaderValidationException[source]

Bases: Exception

Base 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]

Bases: ecstask.productavailability.exceptions.product_availability_service_exception.PayloadValidationException

Exception raised when there is an error while validating fields from the payload .. attribute:: message

explanation of the error

type

String

__init__(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 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]

Bases: ecstask.productavailability.exceptions.product_availability_service_exception.HeaderValidationException

Exception raised when there is an error while validating fields from the header .. attribute:: message

explanation of the error

type

String

__init__(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]