class DittoRuntimeException extends RuntimeException implements Jsonifiable.WithPredicate<JsonObject, JsonField>, WithDittoHeaders<DittoRuntimeException>,
        WithManifest {

    public static Builder newBuilder(final String errorCode, final HttpStatusCode statusCode) {
        return new Builder(errorCode, statusCode);
    }

    protected  DittoRuntimeException(final String errorCode,
            final HttpStatusCode statusCode,
            final DittoHeaders dittoHeaders,
            @Nullable final String message,
            @Nullable final String description,
            @Nullable final Throwable cause,
            @Nullable final URI href);

}