Skip to main content

namespace SemaphoreError

undocumented

Classes

NameDescription
CapacityUnderflowErrorError indicating a request was made to release more weight than reserved.
InsufficientCapacityErrorError indicating that the semaphore does not have sufficient capacity.
InvalidConfigErrorError indicating that an invalid configuration was provided,
SemaphoreErrorThe abstract base class/type for Semaphore Errors.

Functions

isSemaphoreError

Returns true if the given object is an instance of a SemaphoreError.

Definition

export declare function isSemaphoreError(obj: any): obj is SemaphoreError;

Parameters

NameTypeDescription
objanythe value to test