File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1+ --- 
2+ " @across-protocol/app-sdk "  : patch 
3+ --- 
4+ 
5+ update AcrossApiErrors
Original file line number Diff line number Diff line change @@ -5,13 +5,20 @@ export type AcrossErrorCodeType = keyof typeof AcrossErrorCode;
55export  const  AcrossErrorCode  =  { 
66  // Status: 40X 
77  INVALID_PARAM : "INVALID_PARAM" , 
8+   INVALID_METHOD : "INVALID_METHOD" , 
89  MISSING_PARAM : "MISSING_PARAM" , 
910  SIMULATION_ERROR : "SIMULATION_ERROR" , 
1011  AMOUNT_TOO_LOW : "AMOUNT_TOO_LOW" , 
1112  AMOUNT_TOO_HIGH : "AMOUNT_TOO_HIGH" , 
1213  ROUTE_NOT_ENABLED : "ROUTE_NOT_ENABLED" , 
14+   SWAP_LIQUIDITY_INSUFFICIENT : "SWAP_LIQUIDITY_INSUFFICIENT" , 
15+   SWAP_QUOTE_UNAVAILABLE : "SWAP_QUOTE_UNAVAILABLE" , 
16+   SWAP_TYPE_NOT_GUARANTEED : "SWAP_TYPE_NOT_GUARANTEED" , 
17+   ABI_ENCODING_ERROR : "ABI_ENCODING_ERROR" , 
1318
1419  // Status: 50X 
1520  UPSTREAM_RPC_ERROR : "UPSTREAM_RPC_ERROR" , 
1621  UPSTREAM_HTTP_ERROR : "UPSTREAM_HTTP_ERROR" , 
22+   UPSTREAM_GATEWAY_TIMEOUT : "UPSTREAM_GATEWAY_TIMEOUT" , 
23+   UNEXPECTED_ERROR : "UNEXPECTED_ERROR" , 
1724}  as  const ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments