vibe.d beta banner
get vibe.d
0.7.30

Function DriverCore.eventException

Sets an exception to be thrown on the next call to yieldForEvent.

abstract void eventException (
  Exception e
) @property;

Note that this only has an effect if yieldForEvent is called outside of a task. To throw an exception in a task, use the event_exception parameter to resumeTask.

Authors

Sönke Ludwig

Copyright

© 2012-2015 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.