OSP Event Handler V2 - Pick Task Handler Exception Code

Code

exception ecstask.osp_eventhandler_v2.exceptions.pick_task_handler_exception.PickTaskHandlerException[source]

Bases: Exception

Base class to handle exceptions with the PickTaskCompleteBigQueryHandler class

exception ecstask.osp_eventhandler_v2.exceptions.pick_task_handler_exception.PayloadValidationException[source]

Bases: Exception

Base 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.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 misisng from the request, See logs for more details')[source]
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.PickTaskHandlerException

Exception raised when the request from the webhook is missing one or more properties .. attribute:: message

explanation of the error

type

String

__init__(message='The request received from the web hook is missing one or more properties doublecheck what you are posting', field=None)[source]