Constructor(message, name, errorCode, avoidConsoleMessage)
Name |
Description |
Data type |
Default value |
message |
A meaningful error description. |
string oder object |
„An error happened.“ |
name |
|
string |
„Exception“ |
errorCode |
|
ym.ErrorCodes |
ym.ErrorCodes.EXCEPTION |
avoidConsoleMessage |
|
bool |
false |
throw new ym.UnknownException("Something strange happened!");
deprecated(component, link, expirationDate) ab v3
Writes a message in the developer tool that informs about an obsolete component.
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 |
|
Writes an error message in the developer tool.
Name |
Description |
Data type |
Default value |
args |
Several arguments and data types are possible. |
|
|
Writes a message in the developer tool.
Name |
Description |
Data type |
Default value |
args |
Several arguments and data types are possible. |
|
|
Makes a log entry in the developer tool.
Name |
Description |
Data type |
Default value |
args |
Several arguments and data types are possible. |
|
|
Writes a notification in the developer tool.
Name |
Description |
Data type |
Default value |
msg |
Notification |
string |
|
Writes a warning in the developer tool.
Name |
Description |
Data type |
Default value |
args |
Several arguments and data types are possible. |
|
|