new PersistQuotaExceededError(key, value)
Special type of known error that Persist throws.
Persist 내부에서 알려진 오류 발생시 throw되는 에러
- 
        
        key
Error message
에러 메시지
 - 
        
        value
Error value
에러 값
 
Example
import Persist, { PersistQuotaExceededError } from "@egjs/persist";
try {
  const persist = new Persist("key");
} catch (e) {
  if (e instanceof PersistQuotaExceededError) {
    console.error("size", e.size);
  }
}
    
    
    
Properties:
| Name | Type | Description | 
|---|---|---|
key | 
            
            
            string | 
                
                 Error key 에러가 되는 키  | 
        
message | 
            
            
            string | 
                
                 Error message 에러 메시지  | 
        
storageType | 
            
            
            "SessionStorage" | "LocalStorage" | "History" | "None" | 
                
                 The storage type in which the error occurred 에러가 발생한 스토리지 타입  | 
        
size | 
            
            
            number | 
                
                 The size of the value in which the error occurred 에러가 발생한 값의 사이즈  | 
        
values | 
            
            
            Object | 
                
                 Values of high size in storage. (maxLengh: 3) 스토리지의 높은 사이즈의 값들. (최대 3개)  |