throwNotFoundIfNull

fun <T> T?.throwNotFoundIfNull(errorMsg: String = ErrorCodes.NOT_FOUND_MESSAGE, cause: Throwable? = null): T