class ThingErrorResponse extends AbstractErrorResponse<ThingErrorResponse> implements ThingCommandResponse<ThingErrorResponse> {

    public static ThingErrorResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders) {
        final JsonObject jsonObject =
                DittoJsonException.wrapJsonRuntimeException(() -> JsonFactory.newObject(jsonString));
        return fromJson(jsonObject, dittoHeaders);
    }

    private  ThingErrorResponse(final ThingId thingId, final DittoRuntimeException dittoRuntimeException,
            final DittoHeaders dittoHeaders);

}