javascriptcore.exception
Module for [ExceptionWrap] class
Types 3
JSCException represents a JavaScript exception.
Methods
ExceptionWrapGidBuilder builder() static nothrowGet builder for [javascriptcore.exception.ExceptionWrap] Returns: New builder objectjavascriptcore.exception.ExceptionWrap newWithName(javascriptcore.context.Context context, string name, string message) static nothrowCreate a new #JSCException in context with name and message.string getBacktraceString() nothrowGet a string with the exception backtrace. Returns: the exception backtrace string or null.uint getColumnNumber() nothrowGet the column number at which exception happened. Returns: the column number of exception.uint getLineNumber() nothrowGet the line number at which exception happened. Returns: the line number of exception.string getMessage() nothrowGet the error message of exception. Returns: the exception error message.string getSourceUri() nothrowGet the source URI of exception. Returns: the the source URI of exception, or null.string report() nothrowReturn a report message of exception, containing all the possible details such us source URI, line, column and backtrace, and formatted to be printed. Returns: a new string with the exception reportstring toString_() nothrowGet the string representation of exception error. Returns: the string representation of exception.Constructors
this(javascriptcore.context.Context context, string message)Create a new #JSCException in context with message.Fluent builder implementation template for javascriptcore.exception.ExceptionWrap
Fluent builder for javascriptcore.exception.ExceptionWrap
Methods