pub fn new<T: Into<Vec<u8>>>(message: T, code: WeldRuntimeErrno) -> WeldError {
        WeldError {
            message: CString::new(message).unwrap(),
            code,
        }
    }
Creates a new error with a message and error code.

# Examples

```rust
use weld::{WeldError, WeldRuntimeErrno};

let err = WeldError::new("A new error", WeldRuntimeErrno::Unknown);
```
weld/src/lib.rs