Log a message. Will also store the LastError to local storage as 'lastError'
- Source:
Methods
-
<static> error( [message] [, method] [, title])
-
Log an error
Parameters:
Name Type Argument Default Description messagestring <optional>
<nullable>
'unknown' override label
methodstring <optional>
<nullable>
'unknownMethod' override action
titlestring <optional>
<nullable>
null a title for the error
- Source:
-
<static> exception(exception [, message] [, fatal] [, title])
-
Log an exception
Parameters:
Name Type Argument Default Description exceptionObject the exception
messagestring <optional>
<nullable>
null the error message
fatalboolean <optional>
true true if fatal
titlestring <optional>
<nullable>
'An exception was caught' - a title for the error
- Source: