Raised when an invalid operation is attempted on a thread.
For example, when no other thread has been started:
This will raises the following exception:
ThreadError: stopping only thread note: use sleep to stop forever
Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.