whenPassportSingleElementError

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