AIErrorReporter
class
Per-feature reporter created via createReporter.
Methods
constructor( sink, component )module:ai/aicore/aierrorreporter~AIErrorReporter#constructorlogError( error, options ) → voidmodule:ai/aicore/aierrorreporter~AIErrorReporter#logErrorForwards the error to the sink and writes it to the console. Aborts are dropped.
Parameters
error : unknownoptions : AIErrorReporterOptionsDefaults to
{}
Returns
void
reportError( error, options ) → voidmodule:ai/aicore/aierrorreporter~AIErrorReporter#reportErrorForwards the error to the sink without writing to the console. Aborts are dropped.
Parameters
error : unknownoptions : AIErrorReporterOptionsDefaults to
{}
Returns
void