HTTP errors with Kotlin RX and Retrofit | by Tomasz Janczarski | Medium
ketro | Simple and sane Retrofit request library for Kotlin helps wrap responses and provides easy error handling that can be easily translated to custom exception objects for easy and proper handling.
exception class hierarchy - Android - Java - Kotlin - BLOG