uft
    Preparing search index...

    Interface RejectedResult

    A rejected promise result.

    interface RejectedResult {
        isFulfilled: false;
        isRejected: true;
        reason: unknown;
    }

    Hierarchy

    • PromiseRejectedResult
      • RejectedResult
    Index

    Properties

    isFulfilled: false

    Whether the promise was fulfilled.

    isRejected: true

    Whether the promise was rejected.

    reason: unknown

    The reason why the promise was rejected.

    This is an unknown value because the reason can be anything, however, it's most likely an instance of Error.