getPathOrException

fun Project.getPathOrException(exceptionMessageBuilder: () -> String = { NO_PROJECT_DIR }): VirtualFile

Return

guessed project dir or exception with message from exceptionMessageBuilder

Parameters

exceptionMessageBuilder

message builder