Errors v0.1.0

Source
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.

Source

Cases

NameValueDescription
Exhausted1The system had no memory, or no thread, to spare.
InvalidStackSize2The system refused the requested stack size, usually because it is below its minimum.
Failed3The system reported a failure this package has no name for.