NotInstanceValidationError
Description
Used by validateNotInstance function. The constructor of this error receives an IntanceRef parameter and the supposedInstance. The error is instanciated when the supposedInstance is an instance of InstanceRef. The InstanceRef parameter refers to a class constructor.
Parameters
InstanceRef: Function (class constructor)
supposedInstance: *