Package ai.extend.wrapper.errors
Class WebhookPayloadFetchError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ai.extend.wrapper.errors.WebhookPayloadFetchError
-
- All Implemented Interfaces:
java.io.Serializable
public class WebhookPayloadFetchError extends java.lang.RuntimeExceptionException thrown when fetching a signed URL payload fails.This error is thrown by
fetchSignedPayload()when the HTTP request to retrieve the full payload from the signed URL fails.
-
-
Constructor Summary
Constructors Constructor Description WebhookPayloadFetchError(java.lang.String message)Creates a new WebhookPayloadFetchError.WebhookPayloadFetchError(java.lang.String message, java.lang.Throwable cause)Creates a new WebhookPayloadFetchError with a cause.
-
-
-
Constructor Detail
-
WebhookPayloadFetchError
public WebhookPayloadFetchError(java.lang.String message)
Creates a new WebhookPayloadFetchError.- Parameters:
message- Descriptive error message explaining why the fetch failed
-
WebhookPayloadFetchError
public WebhookPayloadFetchError(java.lang.String message, java.lang.Throwable cause)Creates a new WebhookPayloadFetchError with a cause.- Parameters:
message- Descriptive error message explaining why the fetch failedcause- The underlying exception that caused the fetch to fail
-
-