throwNotFoundIfNull

fun <T> T?.throwNotFoundIfNull(errorMsg: String = ErrorCodes.NOT_FOUND_MESSAGE): T