silent property

bool silent
final

Whether this error should be ignored by the default error reporting behavior in release mode.

If this is false, the default, then the default error handler will always dump this error to the console.

If this is true, then the default error handler would only dump this error to the console in debug mode. In release mode, the error is ignored.

This is used by certain exception handlers that catch errors that could be triggered by environmental conditions (as opposed to logic errors). For example, the HTTP library sets this flag so as to not report every 404 error to the console on end-user devices, while still allowing a custom error handler to see the errors even in release builds.

Implementation

final bool silent;