ifPassportSingleElementError

inline fun <T> PassportElementError.ifPassportSingleElementError(block: (PassportSingleElementError) -> T): T?