NotTypeValidationError

Used by validateNotType function. The constructor of this error receives an arg parameter and the type. The error is instanciated when the arg is type matches the 'type' parameter.

Parameters

  • arg: *
  • type: string