Home > widget-integration > FilterStorageHelper > isQuotaError

FilterStorageHelper.isQuotaError() method

Reports whether the last write failed for lack of space rather than for some other reason.

Signature:

protected isQuotaError(err: unknown): boolean;

Parameters

Parameter

Type

Description

err

unknown

Returns:

boolean

Remarks

Browsers disagree on how a full quota is reported, so both the modern names and the legacy numeric codes are accepted.