Errors v0.1.0
Why a thread could not be started.
ThreadError
pub enum ThreadError: uint8 {
Exhausted = 1,
InvalidStackSize = 2,
Failed = 3
}
Why Spawn could not start a thread. Copy.
Once a thread is running nothing about it can fail this way: joining and detaching a started thread always work.
Cases
| Name | Value | Description |
|---|---|---|
Exhausted | 1 | The system had no memory, or no thread, to spare. |
InvalidStackSize | 2 | The system refused the requested stack size, usually because it is below its minimum. |
Failed | 3 | The system reported a failure this package has no name for. |