Package ai.extend.wrapper.errors
Class WebhookSignatureVerificationError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ai.extend.wrapper.errors.WebhookSignatureVerificationError
-
- All Implemented Interfaces:
java.io.Serializable
public class WebhookSignatureVerificationError extends java.lang.RuntimeExceptionException thrown when webhook signature verification fails.This error is thrown by the webhook utilities when the signature provided in the request headers does not match the expected signature computed from the request body and signing secret.
-
-
Constructor Summary
Constructors Constructor Description WebhookSignatureVerificationError(java.lang.String message)Creates a new WebhookSignatureVerificationError.WebhookSignatureVerificationError(java.lang.String message, java.lang.Throwable cause)Creates a new WebhookSignatureVerificationError with a cause.
-
-
-
Constructor Detail
-
WebhookSignatureVerificationError
public WebhookSignatureVerificationError(java.lang.String message)
Creates a new WebhookSignatureVerificationError.- Parameters:
message- Descriptive error message explaining why verification failed
-
WebhookSignatureVerificationError
public WebhookSignatureVerificationError(java.lang.String message, java.lang.Throwable cause)Creates a new WebhookSignatureVerificationError with a cause.- Parameters:
message- Descriptive error message explaining why verification failedcause- The underlying exception that caused the verification to fail
-
-