of

inline fun <E : ErrorSpec, reified P : Any> of(unauthorized: E? = null, noinline apiError: (P, HttpStatusCode) -> E, noinline networkError: (Throwable) -> E, noinline parseError: (Throwable) -> E): RestErrorMapper<E, P>(source)