Class sap.ui.generic.app.navigation.service.NavErrorModule: sap/ui/generic/app/navigation/service/NavError

extends Object

An object that provides error handling information during runtime.

Constructor Summary
Method Summary
sap.ui.generic.app.navigation.service.NavError.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.generic.app.navigation.service.NavError with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.generic.app.navigation.service.NavError.getMetadata()Returns a metadata object for class sap.ui.generic.app.navigation.service.NavError.
getErrorCode()Returns the error code with which the instance has been created.
Methods borrowed from class sap.ui.base.Object
Constructor Detail
new sap.ui.generic.app.navigation.service.NavError(sErrorCode)
Parameters:
{string}sErrorCode The code for an internal error of a consumer that allows you to track the source locations
Method Detail
sap.ui.generic.app.navigation.service.NavError.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.generic.app.navigation.service.NavError with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.ui.base.Object.extend.

Parameters:
{string}sClassName Name of the class being created
{object}oClassInfo? Object literal with information about the class
{function}FNMetaImpl? Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata
Returns:
{function} Created class / constructor function
sap.ui.generic.app.navigation.service.NavError.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.generic.app.navigation.service.NavError.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getErrorCode(): string
Returns the error code with which the instance has been created.
Returns:
{string} The error code of the error