Service - Online Returns Service Exception Code¶
Code¶
- exception ecstask.onlinereturns.exceptions.online_returns_service_exception.PayloadValidationException[source]¶
Bases:
ExceptionBase class to handle payload validation exceptions
- exception ecstask.onlinereturns.exceptions.online_returns_service_exception.HeaderValidationException[source]¶
Bases:
ExceptionBase class to handle Header validation exceptions
- exception ecstask.onlinereturns.exceptions.online_returns_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.onlinereturns.exceptions.online_returns_service_exception.PayloadValidationException- __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 raised when there is an error while validating fields from the payload
- message¶
explanation of the error
- Type
String
- exception ecstask.onlinereturns.exceptions.online_returns_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.onlinereturns.exceptions.online_returns_service_exception.HeaderValidationException- __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]¶
Exception raised when there is an error while validating fields from the header
- message¶
explanation of the error
- Type
String