@umbraco-cms/backoffice
    • Checks if the given error is an instance of ApiError.

      Parameters

      • error: unknown

        The error to check

      Returns error is { body?: string; request?: unknown; status?: number }

      True if the error is an instance of ApiError, false otherwise

      Use {UmbApiError.isUmbApiError} instead and map your object to {UmbApiError} if needed.

    MMNEPVFCICPMFPCPTTAAATR