Interface

Class: DataStructureErrorInt. DataStructureErrorInt subclasses TypeError.

Constants

DEFAULT_MESSAGE

A String literal containing the default error message. The default message is 'The type was neither Array, Hash, Queue, SizedQueue, Node, or LinkedList.'

Attributes

message

The instance's error message.

Method Signatures

initialize(message = DEFAULT_MESSAGE)

def initialize(message = DEFAULT_MESSAGE)
end

Initializes DataStructureError instances. Takes a String error message explaining the error. Defaults the DEFAULT_MESSAGE. Returns the initialization.

message()

def message()
end

Gets message's reference. Returns the reference String, frozen.