ObjectNotFound

ObjectNotFound

new ObjectNotFound(consumedCapacity)

Source:
Parameters:
Name Type Description
consumedCapacity Object

The consumed capacity for the operation.

Methods

exists() → {boolean}

Description:
  • Returns false, since the object was not found.

Source:
Returns:

False.

Type
boolean

getNumericConsumedCapacity(type, includeRelatedopt) → {number}

Description:
  • Returns the numeric consumed capacity for the operation. For compatibility this method supports an includeRelated parameter, but it is ignored, since there are no related objects to consider.

Source:
Parameters:
Name Type Attributes Default Description
type string

The type of operation.

includeRelated boolean <optional>
false

Whether to include related capacity.

Returns:

The numeric consumed capacity.

Type
number