set method
- T error,
- [dynamic exception,
- StackTrace stack,
- dynamic context]
Sets error
to lastError, and then calls all the registered
listeners with the error passed in, along with related information
if provided.
Implementation
void set(T error, [dynamic exception, StackTrace stack, dynamic context]);