ym.NotSupportedException
Overview
This exception is raised if a feature is not available or not yet defined.
Initialization
Constructor(message)
Name | Description | Data type | Default value |
---|---|---|---|
message |
A meaningful error description. | string |
Example call
throw new ym.NotSupportedException("Something strange happened!");
Methods
deprecated(component, link, expirationDate) from v3
Writes a message in the developer tool that informs about an obsolete component.
Parameter
Name | Description | Data type | Default value |
---|---|---|---|
component |
The component that is marked as obsolete. | function |
|
link |
The link to the documentation of the new or changed component. | string |
|
expirationDate |
The date on which the component is removed. | date |
error(args) from v3
Writes an error message in the developer tool.
Parameter
Name | Description | Data type | Default value |
---|---|---|---|
args |
Several arguments and data types are possible. |
info(args) from v3
Writes a message in the developer tool.
Parameter
Name | Description | Data type | Default value |
---|---|---|---|
args |
Several arguments and data types are possible. |
log(args) from v3
Makes a log entry in the developer tool.
Parameter
Name | Description | Data type | Default value |
---|---|---|---|
args |
Several arguments and data types are possible. |
notify(msg) from v3
Writes a notification in the developer tool.
Parameter
Name | Description | Data type | Default value |
---|---|---|---|
msg |
Notification | string |
warn(args) from v3
Writes a warning in the developer tool.
Parameter
Name | Description | Data type | Default value |
---|---|---|---|
args |
Several arguments and data types are possible. |