package sagan.guides.support;
/**
* Exception raised when a github webhook message is received but its
* HMAC signature does not match the one computed with the shared secret.
*/
public class WebhookAuthenticationException extends RuntimeException {
public WebhookAuthenticationException(String expected, String actual) {
super(String.format("Could not verify signature: '%s', expected '%s'", actual, expected));
}
}