Coverage Summary for Class: ExceptionExtensionsKt (com.javiersc.network.either.internal)
Class | Class, % | Method, % | Branch, % | Line, % | Instruction, % |
---|---|---|---|---|---|
ExceptionExtensionsKt | 100% (1/1) | 100% (1/1) | 50% (3/6) | 100% (1/1) | 82.6% (19/23) |
package com.javiersc.network.either.internal
import kotlinx.serialization.SerializationException
internal val SerializationException.hasBody: Boolean
get() = !this.message?.substringAfter("JSON input:").isNullOrBlank()