getJSONErrorResponse

abstract fun <T> getJSONErrorResponse(): T

Method to get the error response of a request formatted in JSON No-any params required

Return

error response of a request formatted in JSON as T