pub type JSResult<T> = Result<T, JSError>;
enum JSResult<T> { Ok(T), Err(JSError), }
Contains the success value
Contains the error value