@everstake/wallet-sdk-polygon
Version:
Polygon - Everstake Wallet SDK
21 lines (18 loc) • 753 B
text/typescript
/**
* Copyright (c) 2025, Everstake.
* Licensed under the BSD-3-Clause License. See LICENSE file for details.
*/
export const ERROR_MESSAGES = {
TRANSACTION_LOADING_ERR: 'Failed to check transaction.',
APPROVE_ERR: 'Approval failed.',
DELEGATE_ERR: 'Delegation failed.',
GET_ALLOWANCE_ERR: 'Could not fetch allowance.',
UNDELEGATE_ERR: 'Undelegation failed.',
GET_TOTAL_DELEGATE_ERR: 'Failed to get total delegated.',
GET_UNBOND_ERR: 'Could not get unbonding info.',
GET_UNBOND_NONCE_ERR: 'Failed to get unbond nonce.',
GET_REWARD_ERR: 'Could not fetch rewards.',
ALLOWANCE_ERR: 'Allowance less than amount',
DELEGATED_BALANCE_ERR: 'Delegated balance less than requested amount',
};
export const ORIGINAL_ERROR_MESSAGES = {};