setDefaultErrorResponse

open fun <T> setDefaultErrorResponse(defaultErrorResponse: T)

Method to set the default error response to send as error

Parameters

defaultErrorResponse

: default error response to send as error