class SignalEnrichmentFailedException extends DittoRuntimeException {

    public static SignalEnrichmentFailedException dueTo(final DittoRuntimeException cause) {
        return newBuilder()
                .dueTo(cause)
                .dittoHeaders(cause.getDittoHeaders())
                .build();
    }

    private  SignalEnrichmentFailedException(
            final HttpStatusCode statusCode,
            final DittoHeaders dittoHeaders,
            @Nullable final String message,
            @Nullable final String description,
            @Nullable final Throwable cause,
            @Nullable final URI href);

}