Constructor
new DataNotFoundException(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 EFOUND. | 
| 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 404 (Conflict) | 
| model | string | The target model name | 
Extends
- Error