function err Since 0.1.0 err<E>(error: E): Err<E> Creates a failed Result. Type Parameters E The error type Parameters error: E The error value Return Type Err<E> An Err result wrapping the error