UnknownMethodError

class UnknownMethodError(objectName: ObjectVariableNode, methodName: MethodNameNode, objectType: ObjectType? = null, argumentTypes: List<ValueType>? = null) : CompilationError

Thrown when an object is called with a method it does not recognize.

Parameters

objectName

Receiver of the method.

methodName

The unrecognized method.

objectType

Inferred type of the object.

argumentTypes

Types of the arguments the method was called with.

Constructors

Link copied to clipboard
fun UnknownMethodError(objectName: ObjectVariableNode, methodName: MethodNameNode, objectType: ObjectType? = null, argumentTypes: List<ValueType>? = null)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun toDocument(): Document
Link copied to clipboard
override fun toString(): String

Properties

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