Class: VirtualError

nationscript/errors~VirtualError(func, parentnullable)

An NSError indicating a virtual function has not been implemented in a subclass.

Constructor

new VirtualError(func, parentnullable)

Parameters:
Name Type Attributes Default Description
func function

Function that needed to be implemented

parent function <nullable>
null

Constructor of the inheriting class