Arg2pException

class Arg2pException @JvmOverloads constructor(message: String, val syntax: SyntaxProblem? = null) : Exception

An evaluation halted by an error: a theory its profile refuses, a goal that cannot be parsed, ... When a text does not parse (a theory, a query, flags), syntax tells where.

Constructors

Link copied to clipboard
constructor(message: String, syntax: SyntaxProblem? = null)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?
Link copied to clipboard

Functions

Link copied to clipboard
fun Exception.asResolutionException(context: ExecutionContext): ResolutionException

This exception, raised by the code of a primitive, as a resolution exception (arg2p): a Kotlin exception becomes a system_error, which catch/3 can handle, rather than crashing the resolution