function isError(e) {
    if ((0, object_js_1.isObject)(e)) {
        const hasName = typeof e.name === "string";
        const hasMessage = typeof e.message === "string";
        return hasName && hasMessage;
    }
    return false;
}
A wrapper for setTimeout that resolves a promise after delayInMs milliseconds.
@param delayInMs - The number of milliseconds to be delayed.
@param value - The value to be resolved with after a timeout of t milliseconds.
@param options - The options for delay - currently abort options
                 - abortSignal - The abortSignal associated with containing operation.
                 - abortErrorMsg - The abort error message associated with containing operation.
@returns Resolved promise