# a2p Error 定義表 ```typescript= export const ERROR_TYPE = { /** * 系統相關 */ INTERNAL_SERVER_ERROR: { code: 1001, message: "Internal server error", }, /** * 帳號相關 */ ACCOUNT_SYSTEM_USER_CONFLICT: { code: 2001, message: "User already exists", }, ACCOUNT_SYSTEM_USER_NOT_FOUND: { code: 2002, message: "User not found", }, ACCOUNT_SYSTEM_USER_NOT_LOGIN: { code: 2003, message: "User not login", }, ACCOUNT_SYSTEM_USER_TOKEN_NOT_FOUND: { code: 2004, message: "User token not found", }, ACCOUNT_SYSTEM_USER_ALREADY_ACTIVE: { code: 2005, message: "User already active", }, ACCOUNT_SYSTEM_USER_NOT_ACTIVE: { code: 2006, message: "User not active", }, /** * Beacon相關 */ BEACON_SYSTEM_DEVICE_NOT_FOUND: { code: 2101, message: 'Beacon not found' }, BEACON_SYSTEM_NO_SUB_DEVICE: { code: 2102, message: 'Did not subscribe to any device' } }; ```