NotNullException

NotNullException

Extends Error object for throwing not null exceptions.

Constructor

new NotNullException(messageopt, innerMessageopt)

Parameters:
Name Type Attributes Description
message string <optional>
The error message
innerMessage string <optional>
The error inner message
Properties:
Name Type Description
code string A string that represents an error code. The default error code is ENULL.
message string The error message.
innerMessage string The error inner message.
status number A number that represents an error status. This error status may be used for throwing the approriate HTTP error. The default status is 409 (Conflict)
model string The target model name
field string The target field name
Source:

Extends

  • Error