Interface

Class: NodeErrorInt.

Constants

DEFAULT_MESSAGE

The default error message. A String explaining the object is not a Node.

Attributes

message

A String error message. Either the default message or the message argued during initialization.

Method Signatures

initialize(message = DEFAULT_MESSAGE)

def initialize(message = DEFAULT_MESSAGE)
end

Initializes a NodeError instance. Takes a String explaining the error. The argument reference, frozen, becomesmessage.

message()

def message()
end

Gets message 's reference. Returns the String.