Class sap.ui2.srvc.Error
Defined in: error.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
sap.ui2.srvc.Error(sMessage, sComponent)
Creates an
Error object and logs the error message immediately. |
Class Detail
sap.ui2.srvc.Error(sMessage, sComponent)
Creates an
Error object and logs the error message immediately.
- Parameters:
- {string} sMessage
- the error message
- {string} sComponent Optional
- the error component to log
- Since:
- 1.2.0