OSP Event Handler V2 - Pick Task Handler Exception Code¶
Code¶
- exception ecstask.osp_eventhandler_v2.exceptions.pick_task_handler_exception.PickTaskHandlerException[source]¶
Bases:
ExceptionBase class to handle exceptions with the PickTaskCompleteBigQueryHandler class
- exception ecstask.osp_eventhandler_v2.exceptions.pick_task_handler_exception.PayloadValidationException[source]¶
Bases:
ExceptionBase class to handle payload validation exceptions
- exception ecstask.osp_eventhandler_v2.exceptions.pick_task_handler_exception.PayloadValidationError(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')[source]¶
Bases:
ecstask.osp_eventhandler_v2.exceptions.pick_task_handler_exception.PayloadValidationExceptionException raised when there is an error while validating fields from the payload .. attribute:: message
explanation of the error
- type
String
- exception ecstask.osp_eventhandler_v2.exceptions.pick_task_handler_exception.RequestFormatError(message='The request received from the web hook is missing one or more properties doublecheck what you are posting', field=None)[source]¶
Bases:
ecstask.osp_eventhandler_v2.exceptions.pick_task_handler_exception.PickTaskHandlerExceptionException raised when the request from the webhook is missing one or more properties .. attribute:: message
explanation of the error
- type
String