CouldNotExport

data class CouldNotExport(val profile: ExportProfile, val modpackFileName: String, val reason: String?) : ActionError

Constructors

Link copied to clipboard
constructor(profile: ExportProfile, modpackFileName: String, reason: String?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val rawMessage: String
Link copied to clipboard
Link copied to clipboard
open override val severity: ErrorSeverity

Functions

Link copied to clipboard
open override fun message(arg: String): String

A message dedicated for the CLI. It should not be used outside of terminal.

Link copied to clipboard
inline fun <T> onError(action: (ActionError) -> T): T
Link copied to clipboard
open fun shortMessage(arg: String = ""): String?